export declare class Debouncer void> { #private; constructor(interval: number, fn: T); /** * Queues the function to be called with `args` after `interval`. * Resets the interval and cancels the queued function if it hasn't been called yet. */ queue(...args: Parameters): void; /** * Cancels the queued function if it hasn't been called yet. */ cancel(): void; /** * Immediately calls the queued function (if any). */ flush(): void; }