session-desktop/libtextsecure/index.d.ts
2020-11-06 14:44:04 +11:00

26 lines
703 B
TypeScript

import { LibTextsecureCryptoInterface } from './crypto';
export interface LibTextsecure {
messaging: any;
crypto: LibTextsecureCryptoInterface;
storage: any;
SendMessageNetworkError: any;
IncomingIdentityKeyError: any;
OutgoingIdentityKeyError: any;
ReplayableError: any;
MessageError: any;
SignedPreKeyRotationError: any;
EmptySwarmError: any;
SeedNodeError: any;
DNSResolutionError: any;
HTTPError: any;
NotFoundError: any;
WrongSwarmError: any;
WrongDifficultyError: any;
TimestampError: any;
PublicChatError: any;
PublicTokenError: any;
SenderKeyMissing: any;
PreKeyMissing: any;
createTaskWithTimeout(task: any, id: any, options?: any): Promise<any>;
}