import { type CellPatch } from './patch.ts'; export interface CellDiffEntry { id: string; kind: 'added' | 'removed' | 'changed'; oldValue: string | null; newValue: string | null; } export declare function diffCellMaps(before: Record, after: Record): CellDiffEntry[]; export declare function diffToPatches(entries: CellDiffEntry[]): CellPatch[]; export declare function diffWorkbookFiles(beforePath: string, afterPath: string): Promise; export interface PatchLog { version: 1; createdAt: string; sourcePath: string; patches: CellPatch[]; } export declare function writePatchLog(path: string, log: PatchLog): Promise; export declare function readPatchLog(path: string): Promise; export declare function applyPatchLog(inputPath: string, log: PatchLog, outputPath?: string): Promise; export declare function rollbackPatchLog(path: string, log: PatchLog, outPath?: string): Promise; //# sourceMappingURL=diff.d.ts.map