import { EncryptedKey } from "../Types"; export interface BrowserStorageConfigParams { prefix?: string; storage: { get: (key?: null | string | string[] | Record) => Promise>; remove: (key: string | string[]) => Promise; set: (items: Record) => Promise; }; } /** * Facade for `BrowserStorageKeyStore` encapsulating the access to the actual * browser storage */ export declare class BrowserStorageFacade { private storage; private prefix; constructor(); configure(params: BrowserStorageConfigParams): void; hasKey(id: string): Promise; getKey(id: string): Promise; setKey(id: string, key: EncryptedKey): any; removeKey(id: string): any; getAllKeys(): Promise; private check; }