/** * Dashboard REST API Routes * Provides real-time metrics and analytics endpoints for the Phase 2 dashboard * * Endpoints: * GET /api/metrics - System-wide metrics * GET /api/agents - Active agents with capabilities * GET /api/events - Paginated event log * GET /api/cache-stats - Cache statistics and top queries * POST /api/cache/clear - Clear cache (admin) * POST /api/debugger/pause - Pause all agents * POST /api/debugger/resume - Resume agents * POST /api/debugger/rewind - Rewind to event state */ import { Router } from 'express'; import { OrchestrationEngine } from '../core/OrchestrationEngine'; import { AgentRegistry } from '../core/AgentRegistry'; import { SubconsciousEngine } from '../core/SubconsciousEngine'; interface DashboardAPIContext { eventLog: any[]; orchestrationEngine: OrchestrationEngine; agentRegistry: AgentRegistry; eventSource: any; cacheStore: SubconsciousEngine; } export declare function createDashboardRouter(context: DashboardAPIContext): Router; export {}; //# sourceMappingURL=dashboardRoutes.d.ts.map