export declare const useElementState: <T extends HTMLElement>() => [T | null, React.RefCallback<T>];
type SetTrue = () => void;
type SetFalse = () => void;
type Toggle = () => void;
export declare function useBooleanState(initial: boolean | (() => boolean)): [boolean, SetTrue, SetFalse, Toggle];
export declare const useComponentWillMount: (cb: () => void) => void;
export declare const useRenderTime: (cb: (time: number) => void) => void;
type AnyFunction = (...args: any[]) => any;
export declare function useDebounce<Fn extends AnyFunction>(cb: Fn, wait: number): import("lodash").DebouncedFunc<(...args: Parameters<Fn>) => void>;
export { useAutoSave, type AutoSaveOptions, type UseAutoSaveProps, type UseAutoSaveReturn, } from "./hooks/useAutoSave.js";
