/**
 * Health endpoints — surface git working-tree state and vector-index health
 * so operators can detect drift / index lag before it accumulates.
 *
 * The dirty endpoint reads `gitService.hasUncommittedChanges()` directly
 * (NOT the SessionManager dirty Map) — the in-memory map is the very
 * thing we don't trust, so the health signal must come from disk truth.
 *
 * Vector index health is rolled up from VectorService's in-memory counters.
 * Index ops are fire-and-forget at the call sites (graph.ts) so we can't
 * fail writes when indexing fails; the operator-visible signal lives here
 * instead. Audit (2026-05) flagged the previous `.catch(console.warn)` as
 * effectively undetectable.
 */
import type { FastifyInstance } from 'fastify';
import type { WorkspaceManager } from '../../core/workspace-manager.js';
import type { SessionManager } from '../session-manager.js';
export declare function registerHealthApiRoutes(fastify: FastifyInstance, workspaceManager: WorkspaceManager, sessionManager: SessionManager): Promise<void>;
