/** * Parse `.aidlc/context/constitution.md` for its scope and prohibition entries. * * The grammar is deliberately narrow, and only two things are read: the entry id * and the `V-…` statement ids it cites. Everything else on the line is prose the * human owns. * * - IN-1 [V-a1b2c3d4]: the repo builds the ingest pipeline * - NOT-2 [V-e5f6a7b8, V-11223344]: it never stores customer PII * * Bold variants are accepted the way the AC parser accepts them, because someone * will write one. * * Requirements: project-constitution/AC-13 * * @module */ import type { Entry } from './types.js'; /** Where the constitution lives, relative to the project root. */ export declare const CONSTITUTION_RELATIVE: string; export declare function constitutionPath(projectRoot: string): string; export declare function constitutionExists(projectRoot: string): boolean; /** Parse entries out of constitution markdown. Pure over text. */ export declare function parseEntries(markdown: string): Entry[]; /** Read and parse the project's constitution, or `[]` when there is none. */ export declare function readEntries(projectRoot: string): Entry[]; //# sourceMappingURL=entries.d.ts.map