import { type NextState } from '../util/resolveHookState.js'; export type UseStorageValueOptions = { defaultValue?: T; initializeWithValue?: InitializeWithValue; parse?: (str: string | null, fallback: T | null) => T | null; stringify?: (data: T) => string | null; }; type UseStorageValueValue = U; export type UseStorageValueResult = { value: UseStorageValueValue; set: (value: NextState>) => void; remove: () => void; fetch: () => void; }; export declare function useStorageValue(storage: Storage, key: string, options?: UseStorageValueOptions): UseStorageValueResult; export {};