frontend/.pnpm-store/v3/files/b0/c2572c6408ca50fa0cfcdfadb892a3daa53a6b830a2b8b5ce9af2fd13a5666ecd880c031a42175da8ff7f853c9e0f5ed9429e25401338f1a7af0506c0bdfd0

22 lines
1018 B
Plaintext

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;