//#region src/utils/retryUntil.d.ts /** * Retries a condition until it's met or timeout is reached. * Polls the condition function at regular intervals. * * @param condition - Function that returns a truthy value when condition is met * @param options - Configuration options for retry behavior * @returns Promise that resolves to the condition result or undefined if timeout * * @example * // Wait for a value to become available * const value = await retryUntil( * async () => await checkCondition(), * { timeout: 5000, interval: 100 } * ) */ declare function retryUntil(condition: () => Promise, options?: { /** Maximum time to wait in milliseconds (default: 5000ms) */timeout?: number; /** Interval between checks in milliseconds (default: 100ms) */ interval?: number; }): Promise; //#endregion export { retryUntil }; //# sourceMappingURL=retryUntil.d.ts.map