import { type RequestInit, type Response } from 'node-fetch'; import type { ProxyConfig } from '../types.js'; export declare function getProxyAgent(proxy: ProxyConfig): Promise<{ httpAgent?: unknown; httpsAgent?: unknown; } | undefined>; export declare function fetchWithTimeout(url: string, options?: RequestInit, timeoutMs?: number): Promise; export declare function fetchWithProxy(url: string, options?: RequestInit, proxy?: ProxyConfig, timeoutMs?: number, retries?: number): Promise; export declare function getProxyUrl(proxy?: ProxyConfig): string | undefined;