import { type Frontmatter } from '../schemas/index.js'; export interface ParsedMarkdown { frontmatter: Frontmatter; content: string; } /** * Parses a markdown file with YAML frontmatter. */ export declare function readMarkdown(filePath: string): Promise; /** * Writes a markdown file with YAML frontmatter. */ export declare function writeMarkdown(filePath: string, frontmatter: Frontmatter, content: string): Promise; /** * Updates the frontmatter of an existing markdown file. */ export declare function updateFrontmatter(filePath: string, updates: Partial): Promise; /** * Creates a new markdown file with frontmatter. */ export declare function createMarkdownFile(filePath: string, title: string, content: string, options?: Partial>): Promise; /** * Appends content to an existing markdown file. */ export declare function appendToMarkdown(filePath: string, newContent: string): Promise; //# sourceMappingURL=parser.d.ts.map