import type { RequestInfo, RequestInit, Response } from 'node-fetch'; import type { ISession } from '../session/types.js'; /** * Recursively fetch a URL with retry and exponential backoff. */ export declare function fetchWithRetry(session: Pick, /** The URL to fetch. */ url: URL | RequestInfo, /** Options to pass to fetch (e.g., headers, method). */ options?: RequestInit, /** How many times total to attempt the fetch. */ maxRetries?: number, /** The current attempt number. */ attempt?: number, /** The current backoff duration in milliseconds. */ backoff?: number): Promise; //# sourceMappingURL=fetchWithRetry.d.ts.map