import type { PageFrontmatter, SourceRef } from "./types.js";
export interface ParsedFrontmatter {
    frontmatter: PageFrontmatter;
    body: string;
}
export declare function parseFrontmatter(markdown: string): ParsedFrontmatter;
export declare function serializeFrontmatter(frontmatter: PageFrontmatter, body: string): string;
export declare function parseSourceRef(serialized: string): SourceRef;
export declare function serializeSourceRef(source: SourceRef): string;
