import type { GeoProfile } from '../types'; export interface ParsedProxy { protocol: string; host: string; port: number; username?: string; password?: string; } /** Parse a proxy URL like `http://user:pass@host:8080`. */ export declare function parseProxy(url: string): ParsedProxy | null; /** * Discover the public egress IP seen through an HTTP(S) proxy by issuing an * absolute-URI GET to a plain-HTTP echo service via the proxy. Best-effort and * timeout-guarded; returns `null` for SOCKS proxies or any failure. */ export declare function egressIpThroughProxy(proxyUrl: string): Promise; /** * Build a coherent geo identity for a proxy: resolve egress IP → geo. Falls back * to a country code (if you already know it) or US defaults. Never throws. */ export declare function geoForProxy(proxyUrl: string, fallbackCountry?: string): Promise; //# sourceMappingURL=proxy.d.ts.map