export declare const AGENT_TRACE_SCHEMA_VERSION = 4; export declare const AGENT_SPAN_NAMES: { readonly approval: "agent.approval"; readonly channelRequest: "agent.channel.request"; readonly step: "agent.step"; }; export declare const AGENT_USAGE_ATTRIBUTES: { readonly costUsd: "agent.usage.cost_usd"; readonly inputTokens: "agent.usage.input_tokens"; readonly outputTokens: "agent.usage.output_tokens"; readonly cacheReadTokens: "agent.usage.cache_read_tokens"; readonly cacheWriteTokens: "agent.usage.cache_write_tokens"; }; export declare function agentInvocationSpanName(agentName: string | undefined): string; export declare function modelSpanName(modelId: string): string; export interface AgentSamplingOperation { readonly name: string; readonly attributes?: Readonly>; } interface AgentSpanRecord { readonly name: string; readonly attributes: Readonly>; } /** Marks the `execute_tool` span of a tool call made outside any conversation. */ export declare const DIRECT_TOOL_CALL_ATTRIBUTE = "eve.tool.invocation"; export declare const DIRECT_TOOL_CALL_VALUE = "direct"; /** * A direct tool call has no turn, so its own span is what starts and ends * its claim on the trace, the way an activation span does for a turn. */ export declare function isDirectToolCallSpan(span: Pick): boolean; export declare function isAgentActivationSpan(span: AgentSpanRecord): boolean; export declare function agentTurnIdentity(span: AgentSpanRecord): string | undefined; export {};