/// import * as http from 'node:http'; import { Context, z } from 'cordis'; import { Dispatcher } from 'undici'; declare module 'cordis' { interface Events { 'http/dispatcher'(proxyURL: URL, requestURL: URL): Dispatcher | undefined; 'http/legacy-agent'(proxyURL: URL, requestURL: URL): http.Agent | undefined; } } declare module 'undios' { namespace HTTP { interface Config { proxyAgent?: string; } } } export const name = "undios-proxy-agent"; export const inject: string[]; export interface Config { } export const Config: z; export function apply(ctx: Context, config: Config): void;