import type { DependencyList } from 'react'; export type DebouncedFunction any> = (this: ThisParameterType, ...args: Parameters) => void; /** * Makes passed function debounced, otherwise acts like `useCallback`. * * @param callback Function that will be debounced. * @param deps Dependencies list when to update callback. It also replaces invoked * callback for scheduled debounced invocations. * @param delay Debounce delay. * @param maxWait The maximum time `callback` is allowed to be delayed before * it's invoked. 0 means no max wait. */ export declare function useDebouncedCallback any>(callback: Fn, deps: DependencyList, delay: number, maxWait?: number): DebouncedFunction;