export interface FrontmatterMigrationCandidate { relPath: string; fromVersion: number; } export type FrontmatterMigrator = (raw: string) => string; export declare const FRONTMATTER_MIGRATORS: ReadonlyMap; export interface FrontmatterMigrationResult { raw: string; fromVersion: number; toVersion: number; changed: boolean; gap: boolean; error?: string; } export declare function migrateFrontmatterTo(raw: string, target: number, migrators: ReadonlyMap): FrontmatterMigrationResult; export declare function migrateFrontmatterToCurrent(raw: string): FrontmatterMigrationResult; export interface FrontmatterContractIssue { relPath: string; missing: string[]; } export interface FrontmatterContractScan { scanned: number; invalid: FrontmatterContractIssue[]; targetVersion: number; behind: FrontmatterMigrationCandidate[]; } export declare function scanFrontmatterContract(vaultPath: string, targetVersion?: number): FrontmatterContractScan; export interface UnindexedScan { unindexed: string[]; onDisk: number; indexPresent: boolean; } export declare function scanUnindexedFigments(vaultPath: string): Promise; export interface ReconcileScan { vaultName: string; vaultPath: string; scanned: number; missingFrontmatter: FrontmatterContractIssue[]; unindexed: string[]; indexPresent: boolean; targetVersion: number; behind: FrontmatterMigrationCandidate[]; pendingRemovals: string[]; inventoryDigest: string; ignorePolicy: { exists: boolean; sha256: string; byteLength: number; }; excluded: number; } export declare function reconcileVaultScan(vaultName: string | undefined): Promise; //# sourceMappingURL=reconcile-frontmatter.d.ts.map