import type { ResolvedRetryPolicy } from './retryPolicy.js'; /** * Options for {@link fetchWithRetry}. * * @public */ export interface FetchWithRetryOptions { policy: ResolvedRetryPolicy; fetchImpl?: typeof fetch; signal?: AbortSignal; } /** * Wrap `fetch` with policy-driven retry. Honors `Retry-After` (when present * and `respectRetryAfter` is true), otherwise falls back to exponential * backoff with full jitter, capped by `maxDelayMs`. Network errors (thrown * `fetch` rejections) are treated as `retry-network` — same retry budget as * 5xx. An aborted signal short-circuits without further attempts. * * @public */ export declare function fetchWithRetry(input: RequestInfo | URL, init: RequestInit | undefined, options: FetchWithRetryOptions): Promise; //# sourceMappingURL=fetchWithRetry.d.ts.map