import { AesEncryption, type EncryptionParams } from '../cipher'; export interface CreateStorageParams extends EncryptionParams { prefixKey: string; storage: Storage; hasEncrypt: boolean; timeout?: Nullable; } export declare const createStorage: ({ prefixKey, storage, key, iv, timeout, hasEncrypt, }?: Partial) => { storage: Storage; prefixKey?: string; encryption: AesEncryption; hasEncrypt: boolean; getKey(key: string): string; set(key: string, value: any, expire?: number | null): void; get(key: string, def?: any): any; remove(key: string): void; clear(): void; };