import * as jose from 'node-jose'; export interface WebexKeyProvider { fetchKey(keyUri: string): Promise; close?(): Promise; } export interface WebexScr { enc: 'A256GCM'; key: string; iv: string; aad: string; loc?: string; tag: string; } export interface WebexEncryptedBinary { scr: WebexScr; ciphertext: Uint8Array; } export declare class WebexEncryptionService { private rawKeys; private keyCache; private keyProvider; constructor(serializedKeys: Map); setKeyProvider(provider: WebexKeyProvider): void; close(): Promise; getKey(keyUri: string): Promise; encryptText(keyUri: string, plaintext: string): Promise; decryptText(keyUri: string, ciphertext: string): Promise; encryptBinary(plaintext: Uint8Array): WebexEncryptedBinary; encryptScr(keyUri: string, scr: WebexScr): Promise; } //# sourceMappingURL=encryption.d.ts.map