/** * Polling helpers for production code that issues a request *after* an async * chain settles. `expectOne` throws synchronously if nothing matches; this * retries until the request shows up (or a timeout is hit). * * Runner-agnostic: implemented as a small polling loop so it works under jest, * vitest, or any other runner. Defaults — 2s timeout, 25 ms interval — * match common test-utility expectations. */ import type { HttpController, HttpExpectation, HttpMatcher } from './http-controller.js'; export interface WaitOptions { timeout?: number; interval?: number; } export declare function waitForHttp(controller: HttpController, matcher: HttpMatcher, options?: WaitOptions): Promise; //# sourceMappingURL=wait-for-request.d.ts.map