/**
 * YAML frontmatter parser for markdown-like content.
 *
 * Extracts YAML between `---` fences at the top of a document,
 * returning the parsed metadata and the remaining body text.
 */
type ParsedFrontmatter<T extends Record<string, unknown>> = {
    frontmatter: T;
    body: string;
};
/** Parse YAML frontmatter from content, returning typed metadata and the body after the fences. */
export declare const parseFrontmatter: <T extends Record<string, unknown> = Record<string, unknown>>(content: string) => ParsedFrontmatter<T>;
export {};
//# sourceMappingURL=frontmatter.d.ts.map