export interface SemanticParseEventDetail {
    input: string;
    language: string;
    confidence: number;
    threshold: number;
    semanticSuccess: boolean;
    fallbackTriggered: boolean;
    command?: string;
    roles?: Record<string, string>;
    errors?: string[];
    timestamp: number;
    duration?: number;
}
export interface ParseCompleteEventDetail {
    input: string;
    method: 'semantic' | 'traditional' | 'expression';
    success: boolean;
    command?: string;
    errors?: string[];
    timestamp: number;
    duration?: number;
}
export declare function enableDebugEvents(target?: EventTarget): void;
export declare function disableDebugEvents(): void;
export declare function isDebugEnabled(): boolean;
export declare function emitSemanticParseEvent(detail: SemanticParseEventDetail): void;
export declare function emitParseCompleteEvent(detail: ParseCompleteEventDetail): void;
export interface DebugStats {
    totalParses: number;
    semanticSuccesses: number;
    semanticFallbacks: number;
    traditionalParses: number;
    averageConfidence: number;
    confidenceHistory: number[];
}
export declare function updateDebugStats(event: SemanticParseEventDetail): void;
export declare function getDebugStats(): Readonly<DebugStats>;
export declare function resetDebugStats(): void;
export declare function getEventHistory(): readonly SemanticParseEventDetail[];
export declare function replayEvents(callback: (event: SemanticParseEventDetail) => void): void;
//# sourceMappingURL=debug-events.d.ts.map