import { EncryptStorageOptions } from './types'; export declare class AsyncEncryptStorage { #private; storage: Storage | null; constructor(secretKey: string, options?: EncryptStorageOptions); get length(): Promise; setItem(key: string, value: any, dotNotEncrypt?: boolean): Promise; getItem(key: string, doNotDecrypt?: boolean): Promise; removeItem(key: string): Promise; getItemFromPattern(pattern: string): Promise | undefined>; removeItemFromPattern(pattern: string): Promise; clear(): Promise; key(index: number): Promise; encryptString(str: string): Promise; decryptString(str: string): Promise; }