import type { SkillMetadata, SkillSet } from './types.js';
/**
 * Parse simple YAML-like frontmatter from SKILL.md content.
 * Only supports basic key: value pairs (name and 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<SkillMetadata[]>;
/**
 * 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[];
};
