/** * What a run did, read from its trace, for evaluators that judge more than the final answer: the * tools it called, the documents it retrieved, the model calls it made, and every image, audio clip, * video, and document it received or produced. */ import type { EvaluationTrace, MediaPart } from '../types/evaluate.js'; import type { RunTree } from '../types/tracing.js'; /** * Reads a trace into what evaluators judge: its root's inputs and outputs, every tool call, * retrieval, and model call beneath it in the order they started, and the media they carried, each * medium once. */ export declare function traceEvidence(root: RunTree): EvaluationTrace; /** * Every image, audio, video, document, and asset part inside a value, in the order they appear: a * message's content, a tool's output, a list of them, or an asset an image or video operation * returned, which comes back as an asset part. */ export declare function mediaParts(value: unknown): MediaPart[]; /** The value as a media part, when it is one: a typed part, or an asset an operation returned. */ export declare function asMediaPart(item: Record): MediaPart | undefined;