import type { Dispatch, SetStateAction } from "react"; type UseLocalstorageStateReturnValue = [ S, Dispatch>, () => void ]; /** * useLocalstorageState hook * Tracks a value within localStorage and updates it * * @param {string} key - Key of the localStorage object * @param {any} initialState - Default initial value * @see https://rooks.vercel.app/docs/hooks/useLocalstorageState */ declare function useLocalstorageState(key: string, initialState?: S | (() => S)): UseLocalstorageStateReturnValue; export { useLocalstorageState };