import { Agent, AgentOutputType } from '../agent'; import type { RunState } from '../runState'; import { AgentArtifacts, ProcessedResponse } from './types'; import type { ToolNameCollisionPolicy } from './runConfig'; export declare function trackDeferredToolRecovery(state: RunState, sourceAgent: Agent, response: ProcessedResponse): void; /** * Collects tools and handoffs for the current agent so model calls and tracing share the same * snapshot of enabled capabilities. */ export declare function prepareAgentArtifacts>(state: RunState, executionAgent?: Agent, toolNameCollisionPolicy?: ToolNameCollisionPolicy): Promise>;