#!/usr/bin/env node export declare class TerminalServer { private processManager; private server?; private clients; private sessionSubscribers; readonly serverSocketPath: string; private clientCounter; constructor(); /** * Start the server */ start(): Promise; /** * Handle a new client connection */ private handleClient; /** * Handle a message from a client */ private handleMessage; /** * Send a response to a client */ private sendResponse; /** * Send an error response to a client */ private sendError; private broadcastEvent; /** * Shutdown the server */ shutdown(): Promise; } export declare function startServer(): Promise; //# sourceMappingURL=terminal-server.d.ts.map