2025-04-24 17:03:28 +08:00

16 lines
352 B
TypeScript

import { Agent, AgentOptions } from 'agent-base';
declare module ProxyAgent {
interface ProxyAgent extends Agent {
}
}
declare const proxy: ProxyAgentConstructor;
interface ProxyAgentConstructor {
(options?: AgentOptions | string): ProxyAgent.ProxyAgent;
new (options?: AgentOptions | string): ProxyAgent.ProxyAgent;
}
export = proxy;