/**
 * TraceNativeResult — the per-test promptfoo result row subset that the
 * mode adapters read at emit time (D0088).
 *
 * The full promptfoo result is wide and version-coupled; adapters only need
 * the response envelope (token usage + provider metadata), the top-level
 * metadata (literacy's agent-observer log lands here), and the wall-clock
 * latency. Kept structurally loose — adapters narrow the parts they own.
 */
export interface TraceNativeResult {
    response?: {
        tokenUsage?: {
            prompt?: number;
            completion?: number;
            total?: number;
            cached?: number;
        };
        metadata?: Record<string, unknown>;
    };
    metadata?: Record<string, unknown>;
    latencyMs?: number;
}
