import type { ParsedNote, FrontmatterValidationResult } from './types.js'; /** * Parse a frontmatter value that may be a JSON string (LLM clients sometimes * pass frontmatter as a serialized JSON string instead of an object). * Returns undefined if the value is null/undefined, or throws if invalid. */ export declare function parseFrontmatter(value: any): Record | undefined; export declare class FrontmatterHandler { parse(content: string): ParsedNote; stringify(frontmatterData: Record, content: string): string; validate(frontmatterData: Record): FrontmatterValidationResult; private checkForProblematicValues; preserveStringify(rawMatter: string, updates: Record, content: string): string; extractFrontmatter(content: string): Record; updateFrontmatter(content: string, updates: Record): string; } //# sourceMappingURL=frontmatter.d.ts.map