/**
 * Curated skills loader — reads SKILL.md files from the project's skills/ directory
 * and converts them to SkillDocument format for the matcher index.
 *
 * Curated skills use YAML frontmatter:
 *   ---
 *   name: Skill Name
 *   description: Short description
 *   when_to_use: When to apply this skill
 *   ---
 *   # Markdown body
 *
 * The skill ID is derived from the leaf directory name (e.g., skills/debugging/root-cause-tracing → "root-cause-tracing").
 */
import type { SkillDocument } from './schema.js';
/** Exported for testing */
export declare function getCuratedSkillsDir(): string;
interface SkillFrontmatter {
    name?: string;
    description?: string;
    when_to_use?: string;
    version?: string;
    languages?: string;
}
/**
 * Parse YAML-style frontmatter from a SKILL.md file.
 * Returns { frontmatter, body }.
 */
export declare function parseFrontmatter(content: string): {
    frontmatter: SkillFrontmatter;
    body: string;
};
/**
 * Convert a curated SKILL.md to SkillDocument format.
 */
export declare function curatedToDocument(id: string, relPath: string, content: string): SkillDocument;
/**
 * Load all curated skills from the project's skills/ directory.
 * Returns SkillDocument[] ready for the matcher index.
 */
export declare function loadCuratedSkills(): Promise<SkillDocument[]>;
export {};
