UNPKG

@coinmeca/wallet-sdk

Version:
31 lines 892 B
export declare const storage: (data?: Record<string, string>, options?: { codename?: string; salt?: string; emit?: Function; }) => { set: (key: string, value: any) => void; get: (key: string) => any; remove: (key: string) => void; clear: () => void; }; export declare class CoinmecaSecureStorage { #private; constructor(storage?: any, key?: string, options?: { codename?: string; salt?: string; emit?: Function; }); set(key: string, value: any): void; get(key: string): any; remove(key: string): void; clear(): void; import(storage?: any): void; export(): Record<string, string>; secure(salt?: string): { set: (key: string, value: any) => void; get: (key: string) => any; remove: (key: string) => void; clear: () => void; }; } //# sourceMappingURL=storage.d.ts.map