import type { Server } from 'node:http'; import { type BridgeSecurityOptions } from '../middleware/security.js'; /** * Attaches WebSocket upgrade handling for terminal sessions to the HTTP server. * Called after the HTTP server is created. */ export declare function attachTerminalWebSocket(server: Server, cwd: string, security: Required> & BridgeSecurityOptions): void; /** * Cleanup all terminal sessions (called on server shutdown). */ export declare function cleanupAllSessions(): void;