import type { Tool, ToolCall, ToolResult } from '@pellux/goodvibes-sdk/platform/types/tools';
import type { ToolRuntimeContext } from '../context.js';
import type { ExecutorConfig, PhaseResult, ToolExecutionRecord } from '@pellux/goodvibes-sdk/platform/runtime/tools/types';
/**
 * 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<PhaseResult & {
    toolResult?: ToolResult;
}>;
//# sourceMappingURL=execute.d.ts.map