/** * FileDiff Value Object * Represents the difference of a single file between two snapshots */ export type FileDiffStatus = 'added' | 'modified' | 'deleted'; export interface FileDiffData { path: string; status: FileDiffStatus; oldContent?: string; newContent?: string; oldHash?: string; newHash?: string; } export declare class FileDiff { private readonly _path; private readonly _status; private readonly _oldContent?; private readonly _newContent?; private readonly _oldHash?; private readonly _newHash?; private constructor(); get path(): string; get status(): FileDiffStatus; get oldContent(): string | undefined; get newContent(): string | undefined; get oldHash(): string | undefined; get newHash(): string | undefined; /** * Create a validated FileDiff */ static create(data: FileDiffData): FileDiff; toJSON(): FileDiffData; } //# sourceMappingURL=FileDiff.d.ts.map