export declare type UpdateState<T> = (newValue: T | ((value: T) => T)) => void;
export declare type SetStateParameter<T> = T | undefined | ((value: T | undefined) => T | undefined);
export declare type LocalStorageProperties = {
    isPersistent: boolean;
    removeItem: () => void;
};
export default function useLocalStorageStateBase<T = undefined>(key: string): [T | undefined, UpdateState<T | undefined>, LocalStorageProperties];
export default function useLocalStorageStateBase<T>(key: string, defaultValue: T | (() => T)): [T, UpdateState<T>, LocalStorageProperties];
