export interface IStorage { readonly get: () => T | null; readonly set: (data: T) => void; readonly remove: () => void; } export declare function createStorage>(key: string): IStorage;