export declare function waitUntil(f: () => boolean): Promise;