export interface FrontmatterResult> { data: T; content: string; isEmpty: boolean; excerpt?: string; } /** * Parse frontmatter from markdown content */ export declare function parseFrontmatter>(content: string): FrontmatterResult; /** * Check if content has frontmatter */ export declare function hasFrontmatter(content: string): boolean; /** * Extract frontmatter string from content */ export declare function extractFrontmatterString(content: string): string | null; /** * Stringify frontmatter data to YAML */ export declare function stringifyFrontmatter(data: Record): string; /** * Add or update frontmatter in content */ export declare function setFrontmatter(content: string, data: Record): string; /** * Merge frontmatter data with existing */ export declare function mergeFrontmatter(content: string, newData: Record): string; /** * Remove frontmatter from content */ export declare function removeFrontmatter(content: string): string; /** * Get specific frontmatter field */ export declare function getFrontmatterField(content: string, field: string): T | undefined; /** * Set specific frontmatter field */ export declare function setFrontmatterField(content: string, field: string, value: unknown): string; /** * Validate frontmatter structure */ export declare function validateFrontmatter(content: string, requiredFields: string[]): { valid: boolean; missingFields: string[]; }; //# sourceMappingURL=frontmatter.d.ts.map