/** * SqliteIntentDocVersionStore — SQLite implementation of IntentDocVersionStore. * * SPEC bilingual+lifecycle: stores immutable snapshots of INTENT.md content * each time it changes, enabling version history and rollback. Mirrors the * intent_decisions audit pattern (immutable snapshots, hash linkage). * * ERR checklist: * - EP-01 / ERR-001, ERR-005: DB rows treated as unknown, mapped via guards * - EP-03 / ERR-002: write failures throw (fail loud) * - rc-2: no `as` bypass — all row fields validated element-wise via isIntentDocVersionRow */ import type { SqliteConnection } from '../sqlite-connection.js'; import type { IntentLang } from '../../intent/intent-doc.js'; import type { IntentDocVersion, IntentDocVersionStore } from '../../intent/intent-doc-version.js'; export declare class SqliteIntentDocVersionStore implements IntentDocVersionStore { private readonly connection; constructor(connection: SqliteConnection); saveVersion(input: { lang: IntentLang; content: string; reason?: string; }): Promise; listVersions(lang: IntentLang, limit?: number): Promise; getVersion(id: string): Promise; getLatest(lang: IntentLang): Promise; } //# sourceMappingURL=sqlite-intent-doc-version-store.d.ts.map