/** * Resolves once `condition` holds, checking every few milliseconds, and * rejects if it still does not after `timeoutMs`. */ export declare function until(condition: () => boolean, timeoutMs?: number): Promise;