/** Fields needed to build a human-correlatable diff filename. */ export interface DiffArtifactNameParts { evalName: string; stimulus: string; model?: string; trialIndex?: number; turn?: number; } export declare function diffArtifactFilename(parts: DiffArtifactNameParts, seq: number): string; /** * Write `content` to `filePath` via a temp-file-then-rename, creating parent * directories on demand, so a process crash mid-write cannot leave a * truncated file behind. Shared by every sidecar artifact writer. */ export declare function writeFileAtomic(filePath: string, content: string): Promise; /** * Write {@link diff} into {@link diffsDir} as {@link filename}, creating the * directory on demand. Returns the path to store on the trajectory — relative * to the directory that contains `results.jsonl` (the parent of `diffsDir`), * using forward slashes so it is portable across platforms. */ export declare function writeDiffArtifact(diffsDir: string, filename: string, diff: string): Promise; //# sourceMappingURL=diff-artifact.d.ts.map