import type { Kysely } from 'kysely'; /** * Append-only revision history for content items. * * A revision is a snapshot of the authored content *after* a save, not a diff against the previous * one. Diffs are computed on read, where the two versions being compared are already in hand; * storing them instead would make every revision depend on its predecessor surviving, which is * exactly the property an append-only log should not have. * * The snapshot is deliberately the authored content only — title, slug, status, data, seo — and * not the derived tree columns (`path`, `depth`, `position`). Those are computed from the slug and * the parent at write time, and a restore has to recompute them anyway so descendants and redirects * stay consistent. `path` is stored purely so history can show where the item lived at the time. */ export declare function up(db: Kysely): Promise; export declare function down(db: Kysely): Promise;