import { Intent, RecognizedIntent } from '../types/nl.js'; import { CallToolResult } from '@modelcontextprotocol/sdk/types.js'; import { OpenRouterConfig } from '../../../types/workflow.js'; import { VibeTaskManagerConfig } from '../utils/config-loader.js'; export interface CommandExecutionContext { sessionId: string; userId?: string; currentProject?: string; currentTask?: string; config: OpenRouterConfig; taskManagerConfig: VibeTaskManagerConfig; } export interface CommandExecutionResult { success: boolean; result: CallToolResult; updatedContext?: Partial; followUpSuggestions?: string[]; } export interface CommandHandler { intent: Intent; handle(recognizedIntent: RecognizedIntent, toolParams: Record, context: CommandExecutionContext): Promise; } export declare class CommandHandlers { private static instance; private handlers; private constructor(); static getInstance(): CommandHandlers; private initializeHandlers; registerHandler(handler: CommandHandler): void; executeCommand(recognizedIntent: RecognizedIntent, toolParams: Record, context: CommandExecutionContext): Promise; getAvailableIntents(): Intent[]; } export declare class CreateProjectHandler implements CommandHandler { intent: Intent; handle(recognizedIntent: RecognizedIntent, toolParams: Record, context: CommandExecutionContext): Promise; } export declare class CreateTaskHandler implements CommandHandler { intent: Intent; handle(recognizedIntent: RecognizedIntent, toolParams: Record, context: CommandExecutionContext): Promise; } export declare class ListProjectsHandler implements CommandHandler { intent: Intent; handle(recognizedIntent: RecognizedIntent, toolParams: Record, context: CommandExecutionContext): Promise; } export declare class ListTasksHandler implements CommandHandler { intent: Intent; handle(recognizedIntent: RecognizedIntent, toolParams: Record, context: CommandExecutionContext): Promise; } export declare class RunTaskHandler implements CommandHandler { intent: Intent; private resolveProjectPath; handle(recognizedIntent: RecognizedIntent, toolParams: Record, context: CommandExecutionContext): Promise; } export declare class CheckStatusHandler implements CommandHandler { intent: Intent; handle(recognizedIntent: RecognizedIntent, toolParams: Record, context: CommandExecutionContext): Promise; } export declare function getCommandHandlers(): CommandHandlers; //# sourceMappingURL=command-handlers.d.ts.map