export type WireTrajectory = { trajectory_id: string; model_id: string; status: string; final_output: string; usage?: { prompt_tokens?: number; completion_tokens?: number; total_tokens?: number; }; items?: Array>; candidate_id?: string; model?: string; harness_kind?: string; diff?: string; verification?: { status: string; evidence?: string[]; exit_code?: number; }; metadata?: Record; /** * Why the candidate's harness run ended (`completed` = the tool reported a * finished turn; `aborted` = clean exit without one, i.e. interrupted * mid-turn; plus `timeout` / `exit_error` / `spawn_error`). Persisted so * early stops are attributable from the session record. */ end_reason?: { kind: string; exit_code?: number; timed_out?: boolean; detail?: string; }; }; export declare function isWireTrajectory(value: unknown): value is WireTrajectory; export declare function assertWireTrajectory(value: unknown, context?: string): asserts value is WireTrajectory; export declare function normalizeWireTrajectories(values: readonly unknown[]): WireTrajectory[];