import type { SkillMetadata, SkillSet } from './types.js'; /** * Parse YAML frontmatter from SKILL.md content. * Supports both simple key: value and YAML block scalars (e.g., description: >-). * * @param content - File content with frontmatter * @returns Parsed frontmatter or null if invalid */ export declare function parseSkillFrontmatter(content: string): { name: string; description: string; } | null; /** * Scan a directory for skills and extract their metadata. * * @param skillsDir - Path to extracted skills directory (e.g., ~/.cache/b2c-cli/skills/v0.1.0/b2c/skills/) * @param skillSet - The skill set being scanned ('b2c' or 'b2c-cli') * @returns Array of skill metadata */ export declare function scanSkills(skillsDir: string, skillSet: SkillSet): Promise; /** * Filter skills by name. * * @param skills - All available skills * @param names - Skill names to include (if provided) * @returns Filtered skills */ export declare function filterSkillsByName(skills: SkillMetadata[], names?: string[]): SkillMetadata[]; /** * Find skills that match the given names, returning any that weren't found. * * @param skills - Available skills * @param names - Requested skill names * @returns Object with matched skills and names not found */ export declare function findSkillsByName(skills: SkillMetadata[], names: string[]): { found: SkillMetadata[]; notFound: string[]; };