/** * trajectory-formatter — convert a Trajectory into a human-readable string * suitable for inclusion in an LLM judge prompt. * * Uses head/tail windowing with a synthetic gap marker when the event count * exceeds the configured maximum. Individual events are truncated to prevent * any single tool result from dominating the context window. */ import type { Trajectory } from "../../trajectory/types.js"; import type { TrajectoryFormatOptions } from "./types.js"; /** * Format a trajectory's events into a human-readable timeline string. * * Size is controlled by maxEvents (event count cap with head/tail windowing) * and maxCharsPerEvent (per-event truncation). No total character limit is * applied — the event count cap is sufficient, and a total-char slice would * break the head+tail windowing by discarding tail events. */ export declare function formatTrajectory(trajectory: Trajectory, options?: TrajectoryFormatOptions): string; /** * Format execution metrics into a compact summary string. */ export declare function formatMetrics(trajectory: Trajectory): string; //# sourceMappingURL=trajectory-formatter.d.ts.map