UNPKG

@anderson.tec12/utils

Version:

[![npm version](https://badge.fury.io/js/%40anderson.tec12%2Futils.svg)](https://badge.fury.io/js/%40anderson.tec12%2Futils) [![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](https://opensource.org/licenses/MIT)

14 lines (13 loc) 364 B
declare class SecureStorage { private secret; private encoder; private decoder; constructor(secret: string); private getKey; setItem(key: string, value: any): Promise<void>; getItem<T>(key: string): Promise<T | null>; removeItem(key: string): void; clear(): void; } export declare const secureStorage: SecureStorage; export {};