import { HttpClient } from "./types"; /** * The default HTTP client implementation. * * @remarks * This implementation uses the `fetch` API to send HTTP requests. **/ declare const fetchClient: HttpClient; /** * Implements exponential backoff retry logic for async functions. * * @param fn - The async function to retry. * @param maxRetries - Maximum number of retry attempts. * @param baseDelay - Base delay in milliseconds before retrying. * @param maxDelay - Maximum delay in milliseconds. * @returns The result of the function call or throws an error if all retries fail. */ export declare function withRetry(fn: () => Promise, onFailedTry: () => void, maxRetries: number, baseDelay: number, maxDelay: number): Promise; export default fetchClient; //# sourceMappingURL=fetch-http-client.d.ts.map