export interface TailscaleStatus { isInstalled: boolean; isRunning: boolean; hostname?: string; ipv4?: string; ipv6?: string; dnsName?: string; } export interface TailscaleServeConfig { port: number; protocol?: 'http' | 'https' | 'tcp'; } /** * Check if Tailscale CLI is installed */ export declare function isTailscaleInstalled(): Promise; /** * Get Tailscale status */ export declare function getTailscaleStatus(): Promise; /** * Get the Tailscale IP address */ export declare function getTailscaleIP(): Promise; /** * Get the Tailscale DNS name (e.g., hostname.tailnet-name.ts.net) */ export declare function getTailscaleDNSName(): Promise; /** * Start Tailscale serve for a port * This makes the port accessible to other devices on your Tailnet */ export declare function startTailscaleServe(config: TailscaleServeConfig): Promise; /** * Stop Tailscale serve */ export declare function stopTailscaleServe(): Promise; /** * Start Tailscale Serve for WebSocket port with HTTPS/WSS support * Serve exposes the port to devices on your Tailnet with automatic TLS */ export declare function serveTailscalePort(wsPort: number, dashboardPort?: number): Promise<{ success: boolean; tailscaleIp?: string; tailscaleDns?: string; wsUrl?: string; dashboardUrl?: string; }>; /** * Display Tailscale connection info */ export declare function displayTailscaleInfo(info: { tailscaleIp?: string; tailscaleDns?: string; wsPort: number; wsUrl?: string; dashboardUrl?: string; }): void; //# sourceMappingURL=tailscale.d.ts.map