/**
* Lodash (Custom Build)
* Build: `lodash modularize exports="es" include="debounce" -p -o ./`
* Copyright JS Foundation and other contributors
* Released under MIT license
* Based on Underscore.js 1.8.3
* Copyright Jeremy Ashkenas, DocumentCloud and Investigative Reporters & Editors
*/
export type DebounceOptions = {
leading?: boolean;
maxWait?: number;
trailing?: boolean;
};
export type DebouncedFunction any> = {
(...args: Parameters): ReturnType | undefined;
cancel: () => void;
flush: () => ReturnType | undefined;
};
export declare function debounce any>(func: T, wait: number, options?: DebounceOptions): DebouncedFunction;