export declare function sleep(ms: number): Promise; export declare const wait: typeof sleep; export declare function withTime(label: string, fn: () => T): T; /** blocks the thread for given ms. For testing purposes. */ export declare function blockFor(ms?: number): void;