export declare const useLocalStorage: (name: string, defaultValue: T) => { get: () => T; set: (value: T) => void; clear: () => void; }; export declare const useSessionStorage: (name: string, defaultValue: T) => { get: () => T; set: (value: T) => void; clear: () => void; }; export declare const useLocalStorageState: (name: string, initialState: T) => readonly [T, import('react').Dispatch>, import('react').MutableRefObject]; export declare const useSessionStorageState: (name: string, initialState: T) => readonly [T, import('react').Dispatch>, import('react').MutableRefObject]; //# sourceMappingURL=useStorage.d.ts.map