export interface PublicEgressProxy { readonly url: string; close(): Promise; } export interface ResolvedTarget { readonly address: string; readonly family: 4 | 6; } export type EgressTargetResolver = (hostname: string, port?: number) => Promise; export declare function resolvePublicTarget(hostname: string): Promise; export declare function resolveAnyTarget(hostname: string): Promise; export declare function startPublicEgressProxy(token: string): Promise; export declare function startEgressProxy(token: string, resolveTarget: EgressTargetResolver): Promise; //# sourceMappingURL=public-egress-proxy.d.ts.map