/** * 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.js'; import { AgentRegistry } from './core/AgentRegistry.js'; import { Router } from './core/router.js'; import { ServerConfig, RouterConfig, IdeSyncConfig } from './types/index.js'; /** * 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/index.js").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/index.js'; export * from './core/index.js'; export * from './security/index.js'; export * as Protocol from './protocol/index.js'; export * as Subconscious from './subconscious/index.js'; export * as Consensus from './consensus/index.js'; export * as Speculative from './speculative/index.js'; export { config, getSecurityConfig, validateConfig } from './config/index.js'; export { Lemma, LemmaConfig, CacheResult, LemmaMetrics } from './embed.js'; export default SubconsciousHub; //# sourceMappingURL=index.d.ts.map