/** * YAML frontmatter parsing for source markdown documents. * * Format: a leading `---\n` block terminated by `\n---\n`, followed by the body. * Tolerates LF and CRLF. Returns `{ frontmatter: null, body }` when no * frontmatter block is present. */ export interface ParsedMarkdown { frontmatter: Record | null; body: string; } export declare function parseMarkdown(content: string): ParsedMarkdown; /** * Convenience: parse only the frontmatter (used by listSources includeFrontmatter * where we don't need the body). */ export declare function parseFrontmatter(content: string): Record | null; //# sourceMappingURL=parse.d.ts.map