/** * Boot Orchestrator (min documented consumer runtime compat shim from prior 0xRay releases; primary Xray paths + .xray fallbacks only; 1-line per Scope Rule). */ import { XrayStateManager } from "../state/state-manager.js"; import { type MemoryStats } from "../monitoring/memory-monitor.js"; export interface BootSequenceConfig { enableEnforcement: boolean; codexValidation: boolean; sessionManagement: boolean; processorActivation: boolean; agentLoading: boolean; } export interface BootResult { success: boolean; orchestratorLoaded: boolean; sessionManagementActive: boolean; processorsActivated: boolean; enforcementEnabled: boolean; codexComplianceActive: boolean; agentsLoaded: string[]; errors: string[]; } export declare class BootOrchestrator { private contextLoader; private stateManager; private processorManager; private config; private pluginRegistry?; private pluginServerRegistry?; private shutdownInitialized; constructor(config?: Partial, stateManager?: XrayStateManager); /** * Initialize delegation system components */ private initializeDelegationSystem; private loadProcessorsConfig; /** * Initialize plugin system and register MCP servers */ private initializePluginSystem; /** * Load orchestrator as the first component */ private loadOrchestrator; /** * Initialize session management system */ private initializeSessionManagement; /** * Activate pre/post processors */ private activateProcessors; /** * Load remaining agents after orchestrator */ private loadRemainingAgents; /** * Enable automatic enforcement activation */ private enableEnforcement; /** * Activate codex compliance checking during boot */ private activateCodexCompliance; private initializeSecurityComponents; private finalizeSecurityIntegration; private runInitialSecurityAudit; /** * Validate processor health during boot */ private validateProcessorHealth; /** * Get current boot status information */ getBootStatus(): BootResult; /** * Set up comprehensive memory monitoring and alerting */ private setupMemoryMonitoring; /** * Perform comprehensive memory health check */ getMemoryHealth(): { healthy: boolean; issues: string[]; metrics: { current: MemoryStats; peak: MemoryStats; average: number; trend: string; }; }; /** * Execute the boot sequence (internal framework initialization) */ executeBootSequence(): Promise; private loadXrayConfiguration; } export declare const bootOrchestrator: BootOrchestrator;