/** Opens every codegraph block; the discriminator between a block and a bare note. */ export declare const CODEGRAPH_BLOCK_HEADING = "## Codegraph structure"; /** The sentence shared by the reasonless fallback and the reason-bearing block. */ export declare const CODEGRAPH_PROCEEDING = "codegraph unavailable \u2014 proceeding on project-scan only."; /** * The sentence the TRULY reasonless fallback renders. * * Load-bearing, not decoration: the pre-fix block said only "codegraph * unavailable", which is byte-for-byte what a reader saw whether upstream printed * `unable to open database file` or printed nothing at all. Naming the missing * reason makes "no reason exists" a claim the reader can check, and leaves "a * reason exists but the dispatch dropped it" with nowhere to hide. */ export declare const CODEGRAPH_REASON_MISSING = "No failure reason was obtained from the codegraph preflight."; /** Opens the reason-bearing variant; asserted absent whenever no reason exists. */ export declare const CODEGRAPH_REASON_SENTENCE = "Reason reported by the codegraph preflight: "; /** * Render the block for an unavailable codegraph. `note` is the preflight's own * failure note, quoted rather than paraphrased — the point is that the next * reader sees `unable to open database file` instead of re-deriving it. * * The quote is whitespace-collapsed to one line so a multi-line upstream summary * cannot forge a markdown heading further down the prompt; it is otherwise * verbatim, upstream's own SGR color included. Rewriting the failure text here * would put peaks-loop's words where the cause belongs. */ export declare function renderCodegraphUnavailableBlock(note?: string | null): string; /** * The ONE place a `codegraphBlock` value becomes text. * * - `null` (preflight ran, no reason obtained) → the explicit fallback. * - a string already opening with the heading → the pre-composed structure * block, verbatim. * - any other string → an unavailable block quoting it as the reported reason. * `buildCodegraphPreflightBlock`'s `{ available: false, note }` arm is the only * production producer of that shape. */ export declare function resolveCodegraphBlock(value: string | null): string;