session-desktop/libtextsecure/index.d.ts

27 lines
703 B
TypeScript
Raw Normal View History

2020-07-03 02:08:24 +02:00
import { LibTextsecureCryptoInterface } from './crypto';
export interface LibTextsecure {
messaging: any;
2020-07-03 02:08:24 +02:00
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;
2020-07-03 02:08:24 +02:00
createTaskWithTimeout(task: any, id: any, options?: any): Promise<any>;
}