import { type IntentLang } from './intent-doc.js'; export interface IntentDocVersion { id: string; lang: IntentLang; contentHash: string; contentSnapshot: string; reason: string | null; createdAt: string; } export interface IntentDocVersionStore { saveVersion(input: { lang: IntentLang; content: string; reason?: string; }): Promise; listVersions(lang: IntentLang, limit?: number): Promise; getVersion(id: string): Promise; getLatest(lang: IntentLang): Promise; } export declare function computeVersionDiff(oldContent: string, newContent: string): { section: string; changed: boolean; }[]; export declare function formatVersionSummary(version: IntentDocVersion, index: number): { label: string; preview: string; }; //# sourceMappingURL=intent-doc-version.d.ts.map