index.d.ts 352 B

123456789101112131415
  1. import { Agent, AgentOptions } from 'agent-base';
  2. declare module ProxyAgent {
  3. interface ProxyAgent extends Agent {
  4. }
  5. }
  6. declare const proxy: ProxyAgentConstructor;
  7. interface ProxyAgentConstructor {
  8. (options?: AgentOptions | string): ProxyAgent.ProxyAgent;
  9. new (options?: AgentOptions | string): ProxyAgent.ProxyAgent;
  10. }
  11. export = proxy;