export declare function debounce(func: Function, wait?: number): { (): any; cancel: () => void; flush: () => any; };