import { Dispatch, SetStateAction } from 'react'; declare const useLocalStorage: (key: string, initialValue?: T | undefined, options?: { raw: true; } | { raw: false; serializer: (value: T) => string; deserializer: (value: string) => T; } | undefined) => [T | undefined, Dispatch>, () => void]; export default useLocalStorage;