/** * Catalog entry point (#1887): build every profile from the graph and write * the documents next to the rest of `.eddie-brain/`, where `copy-graph.js` * bundles them into `dist/graph/` for the hosted MCP and `assemble-site.mjs` * publishes them as static files. * * .eddie-brain/catalog.json default profile * .eddie-brain/catalog.realtime.json realtime profile * * Writes are idempotent on content (same rule as `KnowledgeGraph.save`), so a * rebuild on unchanged sources produces zero git diff. */ import type { AntiPattern, ComponentEntry } from '../types.js'; import { type Catalog } from './build-catalog.js'; export * from './build-catalog.js'; export { PROFILES, PROFILE_NAMES, DEFAULT_PROFILE, REALTIME_PROFILE, HUB_PROFILE, CHAMELEON_PROFILE } from './profiles.js'; /** The file a profile's catalog is written to inside the graph directory. */ export declare function catalogFilename(profile: string): string; /** Build every registered profile. Throws on the first profile that fails to build. */ export declare function buildAllCatalogs(entries: ComponentEntry[], eddieVersion: string, antiPatterns?: AntiPattern[]): Record; /** * Write every profile's catalog into `brainDir`. Returns the filenames whose * content changed (empty when the graph is already current). */ export declare function writeCatalogs(brainDir: string, entries: ComponentEntry[], eddieVersion: string, antiPatterns?: AntiPattern[]): string[]; /** Read a written catalog back. Returns `null` when the profile has not been generated. */ export declare function readCatalog(brainDir: string, profile: string): Catalog | null; //# sourceMappingURL=index.d.ts.map