/** * Workflow state transition logic * * Handles determining the next step based on rules-based routing. */ import type { WorkflowStep } from '../../models/types.js'; export interface WorkflowRuleTransition { nextStep?: string; returnValue?: string; requiresUserInput?: boolean; commandGates: 'required' | 'skip'; } export declare function determineRuleTransition(step: WorkflowStep, ruleIndex: number): WorkflowRuleTransition | null; /** * Determine next step using rules-based detection. * Returns the next step name from the matched rule, or null if no rule matched. */ export declare function determineNextStepByRules(step: WorkflowStep, ruleIndex: number): string | null; /** * Extract user-facing prompt from blocked response. * Looks for common patterns like "必要な情報:", "質問:", etc. */ export declare function extractBlockedPrompt(content: string): string; //# sourceMappingURL=transitions.d.ts.map