/** * /ws/terminal?session=&token= — raw pty bytes both ways, JSON {type:"resize"} * control frames from client to server. See src/shared/types.ts for the protocol. */ import type { IncomingMessage } from "node:http"; import type { WebSocket } from "ws"; import type { SessionManager } from "../core/session-manager.js"; export declare function createTerminalWebSocketHandler(sessionManager: SessionManager, bootToken: string): (ws: WebSocket, _req: IncomingMessage, params: URLSearchParams) => void; //# sourceMappingURL=terminal-ws.d.ts.map