export interface ParsedFrontmatter { data: Record; body: string; } /** * Splits a Markdown document into frontmatter and body. Returns the raw * frontmatter string (without the `---` fences) and the body. */ export declare function splitFrontmatter(source: string): { raw: string; body: string; }; /** * Parses a YAML-subset frontmatter string into a JS object. */ export declare function parseFrontmatter(raw: string): Record; /** * Parses a full Markdown document (frontmatter + body) in one call. */ export declare function parseDocument(source: string): ParsedFrontmatter;