export interface BrowserProxy { server: string; username?: string; password?: string; } export interface BrowserProxyGate { checkUrl: string; expectedIp: string; } /** * Parse an authenticated HTTP(S) proxy from the child environment without * requiring credentials in command arguments. The returned server never * contains userinfo, so Playwright owns the 407 challenge response. */ export declare function browserProxyFromEnv(env?: NodeJS.ProcessEnv): BrowserProxy; /** * Read the optional fixed-egress gate injected by an embedding host wrapper. * Both fields are required together so a partial contract * fails before Chromium visits the requested target. */ export declare function browserProxyGateFromEnv(env?: NodeJS.ProcessEnv): BrowserProxyGate | null; export declare function extractObservedIp(body: string): string | null; export declare const WEBRTC_PROXY_ONLY_ARG = "--force-webrtc-ip-handling-policy=disable_non_proxied_udp"; //# sourceMappingURL=proxy.d.ts.map