export declare function storageHoc(storage?: Storage): { getItem: (key: string) => T; setItem: (key: string, value: T) => void; key: (index: number) => string | null; removeItem: (key: string) => void; clear: () => void; }; export declare const localStorageHoc: { getItem: (key: string) => string; setItem: (key: string, value: string) => void; key: (index: number) => string | null; removeItem: (key: string) => void; clear: () => void; }; export declare const sessionStorageHoc: { getItem: (key: string) => string; setItem: (key: string, value: string) => void; key: (index: number) => string | null; removeItem: (key: string) => void; clear: () => void; }; //# sourceMappingURL=hoc.d.ts.map