import * as http from "node:http"; export interface EgressProxyDeps { resolve(deployId: string, secret: string): string[] | null; } export declare function hostAllowed(targetHost: string, allowlist: readonly string[]): boolean; export interface EgressProxyHandle { server: http.Server; port: number; close: () => Promise; } export declare function startEgressProxy(opts: { port: number; hostname?: string; }, deps: EgressProxyDeps): Promise; //# sourceMappingURL=egress-proxy.d.ts.map