/** * Build a `fetch` implementation that tunnels through an HTTP/HTTPS proxy * when one is configured via the standard proxy env vars (`HTTPS_PROXY`, * `HTTP_PROXY`, `ALL_PROXY`, honoring `NO_PROXY`). * * Node's built-in `fetch` (and therefore MCP's `StreamableHTTPClientTransport`) * does not honor `HTTPS_PROXY` / `HTTP_PROXY` on its own. Callers that need * proxied egress should pass the result as the transport's `fetch` option. * * Returns `undefined` when no proxy applies, so the caller can keep the * default global `fetch`. */ export declare const getProxyFetch: (targetUrl: string) => ((url: string | URL, init?: RequestInit) => Promise) | undefined; //# sourceMappingURL=proxy.d.ts.map