/** * WebSocket handlers for terminal connections and sessions subscriptions. * Simplified version without status tracking, worktree or execution manager features. */ import { WebSocket } from 'ws'; import type { WSSessionInfo } from '247-shared'; /** * Broadcast session removed event to all subscribers */ export declare function broadcastSessionRemoved(sessionName: string): void; /** * Broadcast session archived event to all subscribers */ export declare function broadcastSessionArchived(sessionName: string, session: WSSessionInfo): void; /** * Broadcast session status update to all subscribers * Called when a hook notifies the agent of a status change */ export declare function broadcastStatusUpdate(session: WSSessionInfo): void; /** * Handle terminal WebSocket connections */ export declare function handleTerminalConnection(ws: WebSocket, url: URL): void; /** * Broadcast update-pending message to all sessions subscribers */ export declare function broadcastUpdatePending(targetVersion: string, message: string): void; /** * Handle sessions WebSocket connections (real-time session list updates) */ export declare function handleSessionsConnection(ws: WebSocket, url?: URL): void; //# sourceMappingURL=websocket-handlers.d.ts.map