export interface MarkdownDocument = Record> { frontmatter: T; body: string; } export declare function parseMarkdownDocument = Record>(text: string, path: string): MarkdownDocument; export declare function readMarkdownDocument = Record>(path: string): Promise>; export declare function renderMarkdownDocument(frontmatter: Record, body: string): string; export declare function sha256(content: string): string; export declare function requireString(value: unknown, field: string, path: string): string; export declare function optionalStringArray(value: unknown, field: string, path: string): string[];