/** * Subconscious Router - Main Entry Point * * High-performance orchestration hub for autonomous AI agents * Implements the Inter-Agent Protocol (I.A.P.) for standardized communication */ import { WebSocketServer } from './core/WebSocketServer'; import { AgentRegistry } from './core/AgentRegistry'; import { Router } from './core/router'; import { ServerConfig, RouterConfig, IdeSyncConfig } from './types'; /** * Main Hub Configuration */ export interface HubConfig { server?: ServerConfig; router?: RouterConfig; ideSync?: IdeSyncConfig; } /** * Subconscious Router Hub * Orchestrates WebSocket connections, agent registry, and message routing */ export declare class SubconsciousHub { private wsServer; private agentRegistry; private router; private isRunning; private ideContextSync; constructor(config?: HubConfig); /** * Setup event handlers for monitoring */ private setupEventHandlers; /** * Start the hub */ start(): Promise; /** * Stop the hub */ stop(): Promise; /** * Get hub statistics */ getStats(): { pendingTasks: number; agentStats: { totalAgents: number; onlineAgents: number; offlineAgents: number; totalCapabilities: number; totalTasksInProgress: number; totalTasksCompleted: number; totalTasksFailed: number; }; connectionStats: import("./types").ConnectionStats; }; /** * Print current status */ printStatus(): void; /** * Get WebSocket server instance */ getWebSocketServer(): WebSocketServer; /** * Get agent registry instance */ getAgentRegistry(): AgentRegistry; /** * Get router instance */ getRouter(): Router; } export * from './types'; export * from './core'; export * from './security'; export * as Protocol from './protocol'; export * as Subconscious from './subconscious'; export * as Consensus from './consensus'; export * as Speculative from './speculative'; export { config, getSecurityConfig, validateConfig } from './config'; export { Lemma, LemmaConfig, CacheResult, LemmaMetrics } from './embed'; export default SubconsciousHub; //# sourceMappingURL=index.d.ts.map