import { MutableRefObject } from 'react'; /** Flavor of useRef with lazy initialization. */ export declare function useLazyRef(factory: () => T): MutableRefObject; /** Returns a stable constant that will be initialized on the first render. */ export declare function useConstant(factory: () => T): T; /** Returns a setTimeout-like function that clears the previous timeout when re-invoked or when the component unmounts. */ export declare function useTimeout(): [(handler: () => void, timeout?: number) => void, () => void];