/// <reference types="react" />
export default function useLocalStorage<T extends any>(id: string, defaultValue: Exclude<T, undefined>): readonly [T, import("react").Dispatch<import("react").SetStateAction<T>>, () => void];
