/** * The Shepherd Journal of a pull request body, verbatim: a `
` block whose summary is * "Shepherd Journal", else a legacy `## Shepherd Journal` section running to the next H2 or the * end. Examples inside fenced code blocks are ignored. Undefined when the body has none; more than * one candidate, or an unclosed one, is ambiguous and throws rather than guessing. */ export declare function findShepherdJournal(body: string): string | undefined; /** * Appends the live body's journal to `rendered`. The rendered fields must not carry a journal of * their own, and must not leave a code fence open: the journal would be hidden inside it. */ export declare function preserveShepherdJournal(rendered: string, live: string): string; /** Rejects text that ends inside an unclosed code fence: whatever follows would render as code. */ export declare function assertNoOpenFence(text: string): void;