/** * GH #738 (local-first phase 4 follow-up): `.brains-checkout.json` is written * to the root of a `WIKI_DIR` by `checkout-wiki.ts` after a scoped hydration * (`fetchExportZip` + `hydrateLocalWikiFromZip`, GH #643). It is the record * `push-wiki.ts` reads back to know what to push and where it came from — the * scope always comes from this file, never from a flag typed by hand at push * time. */ export declare const CHECKOUT_MANIFEST_FILENAME = ".brains-checkout.json"; export interface CheckoutManifest { version: 1; /** The cloud instance this checkout was pulled from. */ sourceUrl: string; /** Folder scope of the checkout, e.g. "projects/oio". Undefined only for a whole-wiki checkout. */ folder?: string; tags?: string[]; /** `generatedAt` of the export job this checkout's content reflects — the "as of" timestamp used for staleness checks. */ exportedAt: string; /** When this checkout ran on the local machine. */ checkedOutAt: string; pageCount: number; } export declare function checkoutManifestPath(wikiDir: string): string; export declare function writeCheckoutManifest(wikiDir: string, manifest: CheckoutManifest): Promise; export declare function readCheckoutManifest(wikiDir: string): Promise; //# sourceMappingURL=checkoutWiki.d.ts.map