import type { CodeIdentity } from "./codeIdentity.js"; import { type Trace } from "./traces.js"; /** Test helpers for run-directory modules: statelog lines, traces, temp dirs. */ export declare function statelogLine(traceId: string, type: string, extra?: Record): string; export declare function agentStartLine(traceId: string, code?: CodeIdentity): string; export declare function tracesOf(...lines: string[]): Trace[]; export declare function tempDir(prefix?: string): string; export declare function writeProject(files: Record): string; /** A finished agent trace: agentStart, an optional evalOutputRecorded, agentEnd * with the return value. `output` undefined → no output recorded and a * result-less agentEnd (a clean run that returned nothing). */ export declare function finishedTraceLines(traceId: string, options?: { output?: unknown; input?: unknown; code?: CodeIdentity; costUsd?: number; }): string[];