export type MarkdownFrontmatterParseResult = Readonly<{
    body: string;
    frontmatter: Record<string, unknown>;
}>;
export declare function stripOptionalBom(text: string): string;
export declare function normalizeMarkdownText(text: string): string;
export declare function parseMarkdownFrontmatter(raw: string, sourceLabel?: string): MarkdownFrontmatterParseResult;
