import "./_dnt.polyfills.js"; import type { Func } from "./func.js"; import { type Timmer } from "./promise.js"; export declare namespace func_debounce { type DebouncedFunction = Func.SetReturn>> & { readonly isPending: boolean; cancel(): void; source: F; flush(): void; }; } export declare const func_debounce: (fn: T, wait?: number | Timmer, options?: { /** * Call the `fn` on the [leading edge of the timeout](https://css-tricks.com/debouncing-throttling-explained-examples/#article-header-id-1). Meaning immediately, instead of waiting for `wait` milliseconds. */ before?: boolean; }) => func_debounce.DebouncedFunction; //# sourceMappingURL=debounce.d.ts.map