import type { ToolCallData, ToolCallRequest, AgentResult } from '../src/utils/agent-execution'; export type { ToolCallData, ToolCallRequest, AgentResult }; export type IntermediateStep = { action: { tool: string; toolInput: Record; log: string; messageLog: unknown[]; toolCallId: string; type: string; }; observation?: string; }; export type TracingMetadataEntry = { key: string; type?: 'stringValue' | 'numberValue' | 'booleanValue' | 'arrayValue' | 'objectValue'; stringValue?: string; numberValue?: string; booleanValue?: string; arrayValue?: string; objectValue?: string; value?: unknown; }; export type AgentOptions = { systemMessage?: string; maxIterations?: number; returnIntermediateSteps?: boolean; passthroughBinaryImages?: boolean; passthroughBinaryPdfs?: boolean; enableStreaming?: boolean; maxTokensFromMemory?: number; tracingMetadata?: { values?: TracingMetadataEntry[]; }; };