You can not select more than 25 topics
			Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
		
		
		
		
		
			
		
			
				
					
					
						
							22 lines
						
					
					
						
							1018 B
						
					
					
				
			
		
		
	
	
							22 lines
						
					
					
						
							1018 B
						
					
					
				import { AgentOptions } from 'agent-base';
 | 
						|
import { PacResolverOptions } from 'pac-resolver';
 | 
						|
import { HttpProxyAgentOptions } from 'http-proxy-agent';
 | 
						|
import { HttpsProxyAgentOptions } from 'https-proxy-agent';
 | 
						|
import { SocksProxyAgentOptions } from 'socks-proxy-agent';
 | 
						|
import _PacProxyAgent from './agent';
 | 
						|
declare function createPacProxyAgent(uri: string, opts?: createPacProxyAgent.PacProxyAgentOptions): _PacProxyAgent;
 | 
						|
declare function createPacProxyAgent(opts: createPacProxyAgent.PacProxyAgentOptions): _PacProxyAgent;
 | 
						|
declare namespace createPacProxyAgent {
 | 
						|
    interface PacProxyAgentOptions extends AgentOptions, PacResolverOptions, HttpProxyAgentOptions, HttpsProxyAgentOptions, SocksProxyAgentOptions {
 | 
						|
        uri?: string;
 | 
						|
        fallbackToDirect?: boolean;
 | 
						|
    }
 | 
						|
    type PacProxyAgent = _PacProxyAgent;
 | 
						|
    const PacProxyAgent: typeof _PacProxyAgent;
 | 
						|
    /**
 | 
						|
     * Supported "protocols". Delegates out to the `get-uri` module.
 | 
						|
     */
 | 
						|
    const protocols: string[];
 | 
						|
}
 | 
						|
export = createPacProxyAgent;
 |