/** * Create a fetch function that routes requests through the given HTTP proxy. * Uses undici's ProxyAgent under the hood. */ export declare function makeProxyFetch(proxyUrl: string): typeof fetch; /** * Resolve a proxy-aware fetch from standard environment variables * (HTTPS_PROXY, HTTP_PROXY, https_proxy, http_proxy). * Respects NO_PROXY / no_proxy exclusions via undici's EnvHttpProxyAgent. * Returns undefined when no proxy is configured. * Gracefully returns undefined if the proxy URL is malformed. */ export declare function resolveProxyFetchFromEnv(): typeof fetch | undefined;