import type { RegisteredTool, ToolDefinition } from './types.js'; import type { InteractionService } from '../interaction/service.js'; import type { InteractionType, InteractionOption } from '../interaction/types.js'; /** ask_user 工具的参数 */ export interface AskUserArgs { /** 标题 */ title: string; /** 说明文本 */ message: string; /** 交互类型 */ type: InteractionType; /** 选项列表(choice / multi-choice 类型) */ options?: InteractionOption[]; /** 是否允许自由文本输入 */ allowFreeText?: boolean; } /** ask_user 工具定义 */ export declare const ASK_USER_TOOL_DEFINITION: ToolDefinition; /** * 创建 ask_user 工具 * * @param interactionService - InteractionService 实例 * @returns 注册的工具 */ export declare function createAskUserTool(interactionService: InteractionService): RegisteredTool; //# sourceMappingURL=ask-user.d.ts.map