/** * Bundled project-scan templates for `peaks workspace init`. * * 4 audit/business templates are bundled in the repo at * `src/services/workspace/templates/project-scan/*.md` and copied * verbatim to `/.peaks/project-scan/` on every * `peaks workspace init` (idempotent skip when the target file * already exists; `--force-project-scan-templates` overrides). * * `project-scan.md` is NOT bundled here — it is generated dynamically * * Template-integrity guarantee: * asserts byte-for-byte equality between these 4 files and the * canonical sources at `.peaks/project-scan/{4 files}`. Any drift * fails the suite (R4 engineering guard against template drift). */ export declare const TEMPLATE_FILES: readonly ["business-knowledge.md", "security-template.md", "perf-template.md", "audit-output-schema.md"]; export type TemplateFileName = (typeof TEMPLATE_FILES)[number]; /** * Read a bundled template by name. Throws when the name is not in * TEMPLATE_FILES (TypeScript narrows the union, but runtime callers * may pass arbitrary strings). */ export declare function readTemplate(name: TemplateFileName): Promise; /** * Same as `readTemplate` but throws a descriptive error when the name * is not in TEMPLATE_FILES. Used by the bootstrap service where the * name comes from a known-typed list and a typo would otherwise fail * with an unhelpful ENOENT. */ export declare function readTemplateStrict(name: string): Promise;