/** * * https://gist.github.com/nmsdvid/8807205 */ export declare function debounce(callback: Function, wait?: number): (...args: any[]) => void; /** * Delays calling the specified function for ms */ export declare const delay: (callback: Function, wait?: number, ...args: any[]) => Promise; /** * Defers a function, scheduling it to run after the current call stack has cleared. */ export declare const defer: (callback: Function, ...args: any[]) => Promise;