/** * peaks-prd project-scan reader — v2.11.0 (D3 in * `v2-11-rm-rd-techdoc-immutable-handoff`). * * Reads the git-tracked project-level artifacts at * `.peaks/project-scan/{project-scan.md, business-knowledge.md}`. * * Both readers swallow `ENOENT` (return `null`) — peaks-prd's gate * uses the `null` return to decide whether to bootstrap. Other IO * errors propagate (no silent failures). */ import type { BusinessKnowledge, ProjectScan } from './project-scan-types.js'; /** Read `.peaks/project-scan/project-scan.md`. Returns `null` when the * file or its parent dir is absent (fresh project). Throws on other * IO failures or malformed YAML. */ export declare function readProjectScan(projectRoot: string): Promise; /** Read `.peaks/project-scan/business-knowledge.md`. Returns `null` * when absent. Throws on other IO failures or malformed YAML. */ export declare function readBusinessKnowledge(projectRoot: string): Promise; /** Read the raw markdown content of a project-scan file. Returns * `null` when absent. Used by bootstrap flows (peaks-prd Step 0.8 * first-run templates). */ export declare function readProjectScanRaw(projectRoot: string): Promise; export declare function readBusinessKnowledgeRaw(projectRoot: string): Promise;