export interface E2EEKeyStore { get(key: string): Promise | unknown; set(key: string, value: string): Promise | void; } export interface E2EEKeyData { keyId: number | string; privKey: string; pubKey: string; e2eeVersion?: number; } export type E2EEPublicKey = { keyId?: number | string; } | ReadonlyArray; export declare function ensureSelfKeyForMid(storage: E2EEKeyStore, mid: string, advertisedKeys: ReadonlyArray | undefined): Promise; export declare function migrateOwnE2EEKeys(source: E2EEKeyStore, target: E2EEKeyStore, mid: string, advertisedKeys: ReadonlyArray | undefined): Promise; //# sourceMappingURL=e2ee-storage.d.ts.map