export type Options = { isImmediate?: boolean; maxWait?: number; callback?: (data: Result) => void; }; export interface DebouncedFunction any> { (this: ThisParameterType, ...args: Args & Parameters): Promise>; cancel: (reason?: any) => void; } export declare function debounce any>(func: F, waitMilliseconds?: number, options?: Options>): DebouncedFunction; //# sourceMappingURL=debounce.d.ts.map