export declare function waitForCondition(condition: () => boolean | Promise, { pollInterval, pollTimeout, timeoutErrorMessage, }?: { pollInterval?: number; pollTimeout?: number; timeoutErrorMessage?: string; }): Promise;