/** Debounced function type */ export type DebouncedFunction = (...a: T) => void; /** Create a function that delays the execution of the given function * by the specified interval in milliseconds. If the function is called * again before the interval ends, the previous call is canceled. */ export declare const debounce: (defun: DebouncedFunction, delay: number) => DebouncedFunction;