/** * NextActions Orchestrator * Coordinates multiple helper functions to generate nextActions * @requirement REQ-MDC-OPTIMIZATION-002 - Auto-call commands via nextActions * @requirement NEXT-ACTIONS-004 - Orchestrator pattern implementation */ import { type CommandContext } from './next-actions-helper.js'; import type { NextAction } from './output-formatter.js'; /** * NextActions Orchestrator * Coordinates multiple helper functions to generate nextActions * FIX: Issue #2 - Uses helper functions directly (no helper classes) * FIX: Issue #7 - Comprehensive error handling with fallback * FIX: Issue #27 - Synchronous (no async operations needed) */ export declare class NextActionsOrchestrator { /** * Orchestrate nextActions generation * Aggregates results from multiple helper functions * FIX: Issue #7 - Comprehensive error handling with fallback * FIX: Issue #27 - Synchronous (no async operations needed) */ orchestrate(command: string, commandData: any, // FIX: Issue #20 - Receive command data, not CommandOutput context: CommandContext): NextAction[]; /** * Get state-based actions * FIX: Issue #20 - Check commandData structure, not output.type */ private getStateBasedActions; /** * Validate nextActions (FIX: Issue #11) */ private validateNextActions; /** * Deduplicate actions with priority handling (FIX: Issue #9) */ private deduplicateActions; /** * Sort actions by priority (FIX: Issue #13) */ private sortActionsByPriority; }