/// <reference types="node" />
import * as http from 'http';
import { ProxySettingSource } from './proxy-config';
export declare function getAgent({ protocol, hostname, port, tryHttp2, keepAlive, proxySettingSource }: {
    protocol: 'http:' | 'https:' | 'ws:' | 'wss:' | undefined;
    hostname: string;
    port: number;
    tryHttp2: boolean;
    keepAlive: boolean;
    proxySettingSource: ProxySettingSource;
}): Promise<http.Agent | undefined>;
//# sourceMappingURL=http-agents.d.ts.map