/** * Stream State Route * * GET /stream/state - Server-Sent Events stream for state updates only. * 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 StreamStateRouteConfig, 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 state stream route */ export declare function createStreamStateRoute, A extends Action>(config: StreamStateRouteConfig): Hono; //# sourceMappingURL=stream-state.d.ts.map