/**
 * LlamaIndex OpenInference spans: AgentWorkflow.call_tool uses input.value / output.value
 * with embedded ToolCall(...) / ToolCallResult(...) Python repr strings — see samples/llamaindex-1.json.
 */
import type { Span, Tool } from '../../types';
export interface ParsedLlamaIndexCallTool {
    toolName?: string;
    toolKwargs?: Record<string, unknown>;
    input?: unknown;
    output?: unknown;
    isHandoff?: boolean;
}
/**
 * Parse OpenInference `AgentWorkflow.call_tool` attributes (input.value / output.value).
 */
export declare function parseLlamaIndexCallToolAttrs(attrs: Record<string, unknown>): ParsedLlamaIndexCallTool;
/** Merge attributes + spanAttributes for OpenLit-style keys. */
export declare function getMergedSpanAttrs(span: Span): Record<string, unknown>;
/**
 * Add description, argument, argument_defination (and normalize argument from toolKwargs).
 */
export declare function enrichLlamaIndexToolFields(tool: Tool, span: Span, parsed: ParsedLlamaIndexCallTool): Tool;
//# sourceMappingURL=parseLlamaIndexCallToolIo.d.ts.map