import http from 'node:http'; import https from 'node:https'; import type { SsrfBridge } from '../ssrf'; export type ProxyUrl = `${'http' | 'https'}://${string}`; export declare function isSupportedProxyUrl(value: string | null | undefined): value is ProxyUrl; export type ProxyOption = 'env' | ProxyUrl | false; export type SsrfOption = SsrfBridge | 'disabled'; export type NodeAgentOptions = https.AgentOptions; export declare function buildNodeAgents(proxy: ProxyOption, ssrf: SsrfOption, agentOptions?: NodeAgentOptions): { httpAgent: http.Agent; httpsAgent: https.Agent; };