import type NodeFetch from "node-fetch"; import type { RequestInfo as NodeFetchRequestInfo, RequestInit as NodeFetchRequestInit } from "node-fetch"; type Fetch = typeof NodeFetch | typeof fetch; export interface BackoffOptions { maxRetries: number; delay: number; } export declare const fetchWithBackoff: (input: RequestInfo & NodeFetchRequestInfo, init?: RequestInit & NodeFetchRequestInit, fetch?: Fetch, { delay, maxRetries }?: BackoffOptions) => Promise; export {};