/** * SSE Events Route * * GET /events - Server-Sent Events stream for real-time state updates. * Uses JSON Patch (RFC 6902) for efficient delta updates. */ import { Hono } from "hono"; import type { Runtime, Action } from "@gizmo-ai/runtime"; import type { EventEmitter } from "events"; export interface EventsRouteConfig, A extends Action> { runtime: Runtime; bus: EventEmitter; slices?: string[]; /** Function to get resolved slices (accounts for auto-filtering) */ resolvedSlices?: (state: S) => string[]; heartbeatInterval: number; serializer: (value: unknown) => string; } /** * Create the SSE events route */ export declare function createEventsRoute, A extends Action>(config: EventsRouteConfig): Hono; //# sourceMappingURL=events.d.ts.map