import type { FastifyPluginAsync } from "fastify"; import type { CollectorConfig } from "../config.js"; import type { CollectorStore } from "../store.js"; import type { LiveBus } from "../liveBus.js"; import { type ConnectionLimiter } from "../connectionLimiter.js"; interface Options { store: CollectorStore; config: CollectorConfig; liveBus: LiveBus; /** * The collector-wide SSE connection budget (ADR §6). Shared with the * conditional-subscription stream (#311), which is the same kind of * held-open socket — one counter, so `LIVE_MAX_CONNECTIONS` means what it * says. Omitted in tests that build this plugin alone. */ connections?: ConnectionLimiter; } /** * Live SSE endpoints (ADR 0032 §3): presence (aggregate, always on), the * project firehose (drives live dashboard updates), and the per-session * live-follow tail (gated by raw-session retention, like replay). All fan out * from the in-process bus and are bounded (ADR §6). */ export declare const liveRoutes: FastifyPluginAsync; export {}; //# sourceMappingURL=live.d.ts.map