/** * Install the decision register's template (decision-register/AC-5, AC-6). * * The template ships in the content package's `templates/` directory, which a * design session in someone else's project cannot read. Installing it under * `.aidlc/resources/templates/` is what lets the first project-wide decision * create `docs/adr/decision-register.md` from it. * * Only the template is installed. The register itself is the project's and is * written by the design phase, never by a command: a project that makes no * project-wide decision never gets one (AC-6). * * Rendered through `renderRule`, so it carries the same ownership marker after * its heading as the rules do. Not a platform adapter, for the reason * `rules.ts` gives: every platform reads it by path. * * @module */ /** Repo-relative target, for reports and tests. */ export declare const REGISTER_TEMPLATE_PATH: string; /** Outcome of one install pass. */ export interface RegisterTemplateReport { /** Repo-relative path when the file was written, else null. */ path: string | null; warnings: string[]; } /** * Write the register template into a project. * * @param projectRoot - Absolute project root. * @param opts.dryRun - Compute the report without touching disk. * @param opts.body - The template text. A test seam; defaults to the content * package's. */ export declare function installRegisterTemplate(projectRoot: string, opts?: { dryRun?: boolean; body?: string; }): RegisterTemplateReport; /** One-line summary of an install pass, or null when nothing changed. */ export declare function summarizeRegisterTemplate(report: RegisterTemplateReport): string | null; //# sourceMappingURL=register-template.d.ts.map