export interface ProxyEnv { [key: string]: string | undefined; } export interface ProxyConfig { url: URL; } export interface JsonHttpRequestOptions { method?: string; headers?: Record; body?: string; timeoutMs: number; } export interface JsonHttpResponse { ok: boolean; status: number; json(): Promise; text(): Promise; } export declare function noProxyMatches(target: URL, noProxyValue: string | undefined): boolean; export declare function getProxyForUrl(targetUrl: string | URL, env?: ProxyEnv): ProxyConfig | undefined; export declare function requestJson(url: string, options: JsonHttpRequestOptions, env?: ProxyEnv): Promise; //# sourceMappingURL=http-client.d.ts.map