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<ISession, 'log' | 'fetch'>, 
/** 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<Response>;
//# sourceMappingURL=fetchWithRetry.d.ts.map