import type { AnyTool } from '../types/effectTool.js'; import type { Flow } from '../types/flow.js'; /** Result shape emitted by the `enter_flow` control tool. `classifyControl` * recognizes it and turns it into a `TurnControl{ type: 'enterFlow' }`, so the * host loop enters the named flow — routing folded into the speaking turn * instead of a separate upfront `generateObject` selector. */ export interface EnterFlowResult { __enterFlow: true; flowName: string; reason?: string; } export declare function isEnterFlowResult(result: unknown): result is EnterFlowResult; /** Build the model-visible `enter_flow` control tool from available flows. */ export declare function createEnterFlowTool(availableFlows: Flow[]): AnyTool;