/** 动态 method → 静态工具映射。actions 仅在 method 含内部 action 参数(GD 短名)时登记。 */ export interface DynamicToolMapping { readonly tool: string; /** 默认静态 action(无 actions 表,或 actualAction 未传时使用) */ readonly action: string; /** GD 内部短 action → 静态全名 action。有此表的 method:actualAction 不在表中 = fail-closed。 */ readonly actions?: Readonly>; } /** GD command_handler 扁平 method 名 → 静态 (tool, action)。与 check-command-docs-drift.mjs METHOD_TO_TOOL 同步维护。 */ export declare const METHOD_TO_TOOL: Readonly>; /** * 动态工具名(= GD 扁平 method 名,methodToToolName 对本表 method 是恒等变换)→ 静态 (tool, action)。 * 未映射返 undefined —— 调用方(ToolDispatcher)对未映射动态工具按 fail-closed 处理(风险未知 → 需确认)。 * C-1(2026-10-22 审查): 含 actions 表的 method 按 actualAction(GD 内部短名)解析真实静态 * action;actualAction 不在表中同样返 undefined(fail-closed,防新增 action 漏登记静默绕门)。 */ export declare function resolveDynamicTool(toolName: string, actualAction?: string): { tool: string; action: string; } | undefined;