export declare function debounce(callback: any, wait: any, immediate?: boolean): (...args: any[]) => Promise;