export declare const MANIFEST_VERSION = 2; export type ManifestLogicalType = "wiki_page" | "control" | "doc"; export interface ManifestEntry { path: string; size: number; sha256: string; logicalType: ManifestLogicalType; } export interface WikiManifest { version: 2; hashAlgorithm: "sha256"; contentNormalization: "line-endings-lf"; pathNormalization: "posix-unicode-nfc"; entries: ManifestEntry[]; } export interface LegacyManifestEntryV1 extends ManifestEntry { mtimeMs: number; } export interface LegacyWikiManifestV1 { version: 1; generatedAt: string; entries: LegacyManifestEntryV1[]; } export type ReadableWikiManifest = WikiManifest | LegacyWikiManifestV1; export declare function wikiMetaDir(wikiRoot: string): string; export declare function manifestFile(wikiRoot: string): string; export declare function normalizeManifestPath(relPath: string): string; export declare function normalizeMarkdownBytes(buffer: Buffer): Buffer; export declare function buildManifest(wikiRoot: string): Promise; export declare function saveManifest(wikiRoot: string, manifest: WikiManifest): Promise; export declare function rebuildManifest(wikiRoot: string): Promise; export declare function readManifest(wikiRoot: string): Promise; export declare function invalidateManifestEntries(wikiRoot: string, relPaths: string[]): Promise; //# sourceMappingURL=manifest-service.d.ts.map