UNPKG

@belloai/ls

Version:
23 lines (21 loc) 623 B
interface Base64StoreConstructorProps { notClearKeys?: string[]; passLocalStorageB64Key?: string; isBase64?: boolean; } declare class Base64Store { notClearKeys: string[]; passLocalStorageB64Key: string; isBase64: boolean; constructor(props?: Base64StoreConstructorProps); get(key: string): any; remove(key: string): void; set(key: string, val: any): void; clear(): void; getKeys(): string[]; clearAllExcept(item?: string | string[]): void; b64ToUtf8(str: string): any; utf8ToB64(str: string): string; isPass(): boolean; } export { Base64Store as default };