UNPKG

@vector-im/matrix-bot-sdk

Version:

TypeScript/JavaScript SDK for Matrix bots and appservices

11 lines (10 loc) 448 B
/** * Flags a MatrixClient function as needing end-to-end encryption enabled. * @category Encryption */ export declare function requiresCrypto(): (target: any, propertyKey: string, descriptor: PropertyDescriptor) => void; /** * Flags a CryptoClient function as needing the CryptoClient to be ready. * @category Encryption */ export declare function requiresReady(): (target: any, propertyKey: string, descriptor: PropertyDescriptor) => void;