import { type ChapterMemo } from "../models/input-governance.js"; export declare class PlannerParseError extends Error { constructor(message: string); } /** * Parse a planner memo produced by the LLM. * * Format: YAML frontmatter delimited by `---\n...\n---\n` followed by a * markdown body containing the seven required section headings. * * Strict on core fields (chapter integer + matches expected, goal non-empty * and ≤ 50 chars, required section headings present). Lenient on aux fields * (threadRefs coerced to string[], defaults to []). * * `isGoldenOpening` is authoritative from the caller — any value the LLM * includes in the frontmatter is ignored. */ export declare function parseMemo(raw: string, expectedChapter: number, isGoldenOpening: boolean): ChapterMemo; //# sourceMappingURL=chapter-memo-parser.d.ts.map