import type { PatchOp } from './schema';
export type DiffEntry = {
    kind: 'pageMeta';
    key: 'metaTitle' | 'metaDescription';
    before: string | null;
    after: string | null;
} | {
    kind: 'block.set';
    blockId: string;
    path: string;
    before: unknown;
    after: unknown;
};
export type ValueResolver = (op: PatchOp) => {
    before: unknown;
} | null;
export declare function computeDiff(ops: PatchOp[], resolve?: ValueResolver | null): DiffEntry[];
