/** * A utility to quickly create hooks to access both Session Storage and Local Storage */ declare const createStorageHook: (type: 'session' | 'local') => (storageKey: string, defaultValue?: any) => [TValue | null, (value: TValue | ((previousValue: TValue) => TValue)) => void]; export default createStorageHook;