import type { MonographDb } from '../storage/db.js'; import type { IndexScope } from './index-scope.js'; /** * What the last build actually produced — the one place an agent (or doctor) * can learn how complete the index is without inferring it from query results. */ export interface IndexManifest { /** Increments on every committed build; lets a cache tie itself to one build. */ generation: number; builtAt: string; durationMs: number; scope: IndexScope; commit: string | null; /** Version of the symbol-id scheme; ids from different versions are not comparable. */ identityVersion: number; nodes: Record; edges: Record; /** Code symbols and files with a natural-language summary indexed. */ summarized: number; /** Files the parser skipped or recovered from, with the first few named. */ parseWarnings: { count: number; sample: string[]; }; } export declare function readManifest(db: MonographDb): IndexManifest | null; export declare function writeManifest(db: MonographDb, input: { startedAt: number; scope: IndexScope; commit: string | null; summarized: number; parseErrors: string[]; }): IndexManifest; //# sourceMappingURL=manifest.d.ts.map