export interface UseTimeoutFnState { isReady: () => boolean | null; clear: () => void; start: () => void; } /** * Calls given function after specified amount of milliseconds. * * - Not re-render component; * - Automatically clear timeout on unmount; * - Automatically clear timeout on delay change; * - Reset function call will cancel previous timeout; * - Timeout will NOT be clear on function change. It will be called within the timeout, * - You have to clear it on your own when needed. */ export declare const useTimeoutFn: (fn: Function, ms?: number) => UseTimeoutFnState;