import { KeyPair } from '../types'; import { IStorageProvider } from '../storage'; export interface StoredKeyPair { publicKey: string; encryptedPrivateKey: string; salt: string; iv: string; } export declare class SecureStorage { private static storageProvider; /** * Set a custom storage provider */ static setStorageProvider(provider: IStorageProvider): void; static storeKeyPair(keyPair: KeyPair, passphrase: string, identifier?: string): Promise; static retrieveKeyPair(passphrase: string, identifier?: string): Promise; static store(key: string, value: any): Promise; static retrieve(key: string): Promise; static delete(key: string): Promise; static clear(): Promise; } //# sourceMappingURL=storage.d.ts.map