/** * Workflow control sub-commands: keyword detection in user messages during active workflows. * These are NOT separate slash commands — they're natural language keywords detected in chat.message. */ export interface WorkflowCommandResult { /** Whether a workflow control keyword was detected and handled */ handled: boolean; /** Context to inject into the response */ contextInjection?: string; /** Agent to switch to (if any) */ switchAgent?: string; } /** * Check if a user message contains a workflow control keyword and handle it. * Only active when a workflow instance is running. */ export declare function handleWorkflowCommand(message: string, directory: string, sessionId?: string): WorkflowCommandResult;