import type { RunRecord } from '../observability/service'; import type { Checkpoint } from '../pipeline/checkpoint/types'; import type { AgentResponse } from '../agent/agent'; import type { GoldenTrace } from './golden-trace'; import { type EvalCheckpointArtifact, type EvalEnvironmentMetadata, type EvalRoutingArtifact, type EvaluationArtifact } from './artifact'; export interface NormalizationCheckpoint { step: number; stepName?: string; status: string; createdAt: number | string | Date; snapshot: Record; } type NormalizableResponse = AgentResponse | { content: string; output?: unknown; role?: string; metadata?: Record; }; export interface NormalizeRunRecordInput { runRecord: RunRecord; environment: EvalEnvironmentMetadata; message?: string; response?: NormalizableResponse; routing?: EvalRoutingArtifact; checkpoints?: NormalizationCheckpoint[]; } export interface NormalizeLegacyTraceInput { trace: GoldenTrace; environment: EvalEnvironmentMetadata; runId?: string; checkpoints?: NormalizationCheckpoint[]; } export declare function normalizeRunRecord(input: NormalizeRunRecordInput): EvaluationArtifact; export declare function normalizeLegacyGoldenTrace(input: NormalizeLegacyTraceInput): EvaluationArtifact; export declare function normalizeCheckpointsFromRun(checkpoints: ReadonlyArray, originMs: number): EvalCheckpointArtifact[]; export {}; //# sourceMappingURL=normalizer.d.ts.map