/** * `fetch` with retry + timeout. * * - 2 retries on 408 / 429 / 5xx (transient upstream errors) * - Default 15 second total per-attempt timeout via AbortController * - Network errors (DNS, refused, abort) count as retryable * * Returns `undefined` on terminal failure. Callers treat undefined the same * as a 404 (the package's types just couldn't be loaded). */ export interface FetchWithRetryOptions { retries?: number; timeoutMs?: number; init?: RequestInit; } export declare function fetchWithRetry(url: string, { retries, timeoutMs, init }?: FetchWithRetryOptions): Promise; //# sourceMappingURL=httpFetch.d.ts.map