/** * Detect the external/public IP address. */ export declare function getExternalIP(): Promise; /** * Get the local/private IP address. * Uses os.networkInterfaces() for cross-platform compatibility (#17). */ export declare function getLocalIP(): string | null; export interface TailscaleStatus { installed: boolean; running: boolean; ip: string | null; hostname: string | null; magicDNS: boolean; peers: TailscalePeer[]; } export interface TailscalePeer { hostname: string; ip: string; online: boolean; } /** * Detect Tailscale status and network information. */ export declare function detectTailscale(): TailscaleStatus; /** * Build multiaddr using the best available IP. * Priority: Tailscale IP > Local IP > External IP */ export declare function buildMultiaddr(peerId: string, port: number): Promise<{ local: string; tailscale: string | null; external: string | null; }>; /** * Check if a port is available for binding. */ export declare function isPortAvailable(port: number, host?: string): Promise; /** * Find the next available port starting from a given port. */ export declare function findAvailablePort(startPort: number): Promise; /** * Test connectivity to a remote multiaddr. */ export declare function testConnectivity(host: string, port: number, timeout?: number): Promise; /** * Display a comprehensive network status summary. */ export declare function printNetworkStatus(peerId: string, port: number): Promise; //# sourceMappingURL=network.d.ts.map