/** * Promisify setTimeout * @param millis the millis to sleep */ export declare const sleep: (millis: number) => Promise; /** * Function debouncer */ type DF = (this: ThisParameterType, ...args: any[]) => void; export declare const debounce: (func: DF, delay: number) => DF; /** * Function throttler */ export declare const throttle: ReturnType>(func: T, delay: number) => ((this: ThisParameterType, ...args: Parameters) => void); export {}; //# sourceMappingURL=utils.d.ts.map