mirror of
https://github.com/renovatebot/renovate.git
synced 2025-01-12 06:56:24 +00:00
17 lines
477 B
TypeScript
17 lines
477 B
TypeScript
declare module 'global-agent' {
|
|
export interface ProxyAgentConfigurationInputType {
|
|
environmentVariableNamespace?: string;
|
|
forceGlobalAgent?: boolean;
|
|
socketConnectionTimeout?: number;
|
|
}
|
|
|
|
export interface ProxyAgentConfigurationType {
|
|
readonly HTTP_PROXY: string;
|
|
readonly HTTPS_PROXY: string;
|
|
readonly NO_PROXY: string;
|
|
}
|
|
|
|
export function createGlobalProxyAgent(
|
|
opts: ProxyAgentConfigurationInputType
|
|
): ProxyAgentConfigurationType;
|
|
}
|