export declare const debounce: (fn: Function, delay?: number, immediate?: boolean) => (this: any, ...args: any) => void;