import type { DebouncedFunc, DebounceSettings } from 'lodash'; /** * Wraps a given callback in a cancelable, debounced function. The debounced * callback is automatically cancelled if the callback reference changes or the * component unmounts. * @param callback callback function to debounce * @param debounceMs debounce milliseconds * @param options debounce options such as leading or trailing behavior * @returns a cancelable, debounced function */ export declare function useDebouncedCallback(callback: (...args: TArgs) => TResult, debounceMs: number, options?: DebounceSettings): DebouncedFunc<(...args: TArgs) => TResult>; export default useDebouncedCallback; //# sourceMappingURL=useDebouncedCallback.d.ts.map