import { Dispatch, SetStateAction } from 'react';
declare type SetValue<T> = Dispatch<SetStateAction<T>>;
export declare function useLocalStorage<T>(key: string, initialValue?: T): [T, SetValue<T>];
export {};
