/** * State route module — `/api/state/snapshot` and `/api/state/sessions` endpoints. * * Aggregates canonical state from the 4 registered prefixes * (.hivemind/state, .hivemind/session-tracker, .opencode, .planning) * and caches snapshots with a 5-second TTL per ER-S02-06. * * @module sidecar/server/routes/state */ import type { Route } from "../handler.js"; import type { SidecarDependencyRegistry } from "../registry.js"; /** * Create the state route entries bound to the given registry. * * @param registry - Sidecar dependency registry. * @returns An array of Route entries for state endpoints. */ export declare function createStateRoutes(registry: SidecarDependencyRegistry): Route[]; //# sourceMappingURL=state.d.ts.map