export declare function asyncWhile(checker: (index: number) => boolean | Promise, callback: (index: number) => void | Promise): Promise; export declare function asyncForEach(array: T[], callback: (item: T, index: number) => boolean | Promise): Promise; export declare function nextTick(time?: number): Promise;