/** * Stores state in localStorage and keeps it in sync. * * @template T - Type of the stored value * @param key - Storage key * @param initial - Initial value * @returns A tuple [value, setValue] similar to useState * * @example * const [token, setToken] = useLocalStorage("token", ""); */ export declare const useLocalStorage: (key: string, initial: T) => readonly [T, (newValue: T) => void]; //# sourceMappingURL=useLocalStorage.d.ts.map