export declare const debounce: (func: Function, wait: number, immediate: any) => () => void;