export interface HostPort { host: string; port: number; } export declare function parseHostPort(input: string): HostPort; /** F2: Non-throwing variant — returns null on invalid input. */ export declare function tryParseHostPort(input: string): HostPort | null; export declare function formatHostPort(hp: HostPort): string; /** Derive tpu_quic endpoint from a plain tpu endpoint per Solana convention. */ export declare function tpuQuicFromTpu(tpu: string): string; /** Resolve best TPU-QUIC address from a gossip ContactInfo shape. * Returns null if neither field is present OR if the resolved addr is unparseable. */ export declare function resolveTpuQuicAddr(contact: { tpuQuic?: string | null; tpu?: string | null; }): string | null; //# sourceMappingURL=addr.d.ts.map