import type { Tool, ToolCall, ToolResult } from '../../../types/tools.js'; import type { ToolRuntimeContext } from '../context.js'; import type { ExecutorConfig, PhaseResult, ToolExecutionRecord } from '../types.js'; /** * execute, Phase 4 of the tool execution pipeline. * * Calls `tool.execute(args)` and injects the callId into the result. * Respects the phase timeout and the budget.maxMs constraint. * Caught errors produce a failed PhaseResult (not thrown) so the * executor can record the failure trace cleanly. * * The resolved args honour any prehook-modified input stored as * `_updatedArgs` on the record. */ export declare function executePhase(call: ToolCall, tool: Tool, context: ToolRuntimeContext, record: ToolExecutionRecord, config?: ExecutorConfig): Promise; //# sourceMappingURL=execute.d.ts.map