import { RecognizedIntent, CommandProcessingResult } from '../types/nl.js'; export interface CommandContext { sessionId: string; userId?: string; currentProject?: string; currentTask?: string; conversationHistory: RecognizedIntent[]; userPreferences: Record; } export interface CommandGatewayConfig { maxProcessingTime: number; trackHistory: boolean; maxHistoryEntries: number; enableContextAware: boolean; autoExecuteThreshold: number; } export interface ValidationResult { isValid: boolean; errors: string[]; warnings: string[]; suggestions: string[]; normalizedParams: Record; } export declare class CommandGateway { private static instance; private intentRecognizer; private config; private commandHistory; private contextCache; private sessionMetrics; private intentSuccessMetrics; private constructor(); static getInstance(): CommandGateway; processCommand(input: string, context?: Partial): Promise; private getOrCreateContext; private buildRecognitionContext; private updateCommandHistory; private validateCommand; private validateCreateProject; private validateCreateTask; private validateListCommand; private validateRunTask; private validateStatusCheck; private validateDecomposeTask; private validateDecomposeEpic; private validateDecomposeProject; private validateSearchFiles; private validateSearchContent; private validateArtifactOperation; private validateUpdateProject; private validateAssignTask; private shouldRequireConfirmation; private mapIntentToToolParams; private createFailureResult; private createValidationErrorResult; private mapEntityTypeToParamName; private convertEntitiesToArray; updateConfig(newConfig: Partial): void; getConfig(): CommandGatewayConfig; clearHistory(sessionId: string): void; getHistory(sessionId: string): RecognizedIntent[]; getStatistics(): { totalSessions: number; totalCommands: number; averageProcessingTime: number; successRate: number; }; private calculateAverageProcessingTime; private trackIntentSuccess; getIntentSuccessRates(): Record; }>; getSystemHealthMetrics(): { totalCommands: number; overallSuccessRate: number; intentCoverage: number; problematicIntents: string[]; lastUpdated: Date; }; } //# sourceMappingURL=command-gateway.d.ts.map