/** * Frontmatter utilities for skill markdown files. * Handles parsing and generating YAML frontmatter for skill metadata. */ export interface SkillFrontmatter { name: string; title?: string; tags?: string[]; updated?: string; description?: string; } /** * Parse frontmatter from markdown content. * Returns null if no valid frontmatter found. */ export declare function parseFrontmatter(content: string): { frontmatter: SkillFrontmatter | null; body: string; }; /** * Generate frontmatter string from metadata. */ export declare function generateFrontmatter(metadata: SkillFrontmatter): string; /** * Add or update frontmatter in markdown content. */ export declare function updateFrontmatter(content: string, metadata: SkillFrontmatter): string; /** * Extract body content without frontmatter. */ export declare function extractBody(content: string): string; /** * Check if content has frontmatter. */ export declare function hasFrontmatter(content: string): boolean; //# sourceMappingURL=frontmatter.d.ts.map