export interface EncryptedKey { iv: string; data: string; } export interface AESKeyEncryptorI { decryptKey(encryptedKey: EncryptedKey, decryptedKeyAlgorithm: AesKeyAlgorithm | RsaHashedImportParams, extractable: boolean, format: "jwk" | "pkcs8", usages: KeyUsage[]): Promise; encryptKey(dataEncryptionKey: CryptoKey, format: "jwk" | "pkcs8"): Promise; } export interface KeyEncryptionConfigParams { name: "AES-GCM"; length: 256; } export interface KeyEncryptionConfigI { toJSON(): KeyEncryptionConfigParams; getAlgorithm(): AesKeyAlgorithm; buildKeyEncryptor(key: CryptoKey): AESKeyEncryptorI; } export declare function KeyEncryptionConfig(configJSON?: KeyEncryptionConfigParams): KeyEncryptionConfigI;