import { ExtendedSecretKey, SecretKey } from '../../../types/key'; import { _OfflineProtocol } from '../../protocol'; export declare type AESExtension = T extends _OfflineProtocol ? AES<_SecretKey> : never; export interface AES<_SecretKey extends SecretKey | ExtendedSecretKey = SecretKey> { encryptAESWithSecretKey(payload: string, secretKey: _SecretKey): Promise; decryptAESWithSecretKey(payload: string, secretKey: _SecretKey): Promise; }