/** * SSE events route module — `/api/events` server-sent events endpoint. * * Provides real-time event streaming with 6 filter categories and a * 50-connection cap via SseConnectionPool. * * @module sidecar/server/routes/events */ import type { Route } from "../handler.js"; import type { SidecarDependencyRegistry } from "../registry.js"; import type { SseConnectionPool } from "../sse/pool.js"; /** SSE filter category type. */ export type SseFilterCategory = "session" | "delegation" | "trajectory" | "pressure" | "invalidate" | "heartbeat"; /** Valid SSE filter categories. */ export declare const SseFilter: readonly SseFilterCategory[]; export interface EventsRouteOptions { registry: SidecarDependencyRegistry; ssePool: SseConnectionPool; } /** * Create the SSE events route entry bound to the given dependencies. * * @param options - Dependencies including registry and SSE pool. * @returns An array of Route entries for the events endpoint. */ export declare function createEventsRoute(options: EventsRouteOptions): Route[]; //# sourceMappingURL=events.d.ts.map