/**
 * A generic hook for managing state that persists in localStorage
 * @param key The localStorage key to store the value under
 * @param initialValue The initial value if nothing exists in localStorage
 * @param transform Optional function to transform data before storing
 * @returns [value, setValue] tuple similar to useState
 */
export declare const useLocalStorage: <T>(key: string, initialValue: T, transform?: (value: T) => T) => [T, (value: T | ((prev: T) => T)) => void];
//# sourceMappingURL=useLocalStorage.d.ts.map