export declare const debounce: (func: any, wait: any, immediate?: boolean) => (this: any) => void;
/**
 * Source: https://stackoverflow.com/a/57335271
 *
 * @param callback Function to be called.
 * @param wait Debounce time.
 */
export declare function debouncedCallback<A extends any[]>(callback: (...args: A) => void, wait: number): (...args: A) => void;
