/** * /ws/events?token= — server→client bus broadcasting BusMessage. Forwards * whatever the shared EventBus publishes (session.status, canvas.reload, * port.detected, workflows.changed) — the integrator is responsible for * feeding all of those into the bus from their respective sources. */ import type { AssistantStateSnapshot } from "../shared/assistant-state.js"; import type { IncomingMessage } from "node:http"; import type { WebSocket } from "ws"; import type { EventBus } from "../core/event-bus.js"; export declare function createEventsWebSocketHandler(bus: EventBus, bootToken: string, getAssistantState?: () => AssistantStateSnapshot): (ws: WebSocket, _req: IncomingMessage, params: URLSearchParams) => void; //# sourceMappingURL=events-ws.d.ts.map