import { type TreeNode } from '../utils/terminal/layout'; /** File name of the skill definition written into every skill directory. */ export declare const SKILL_FILE_NAME = "SKILL.md"; /** Options describing the skill to scaffold and where to write it. */ export interface GenerateSkillOptions { /** The name of the skill (used as the skill's directory name). */ name: string; /** The description shown to the AI agent to decide whether the skill is relevant. */ description: string; /** Directory (relative to `cwd`) in which the skill should be generated. */ skillsDir: string; /** The current working directory the skill is written under. */ cwd: string; } /** Builds the YAML frontmatter block that makes up a skill's SKILL.md. */ export declare function buildSkillFrontmatter(name: string, description: string): string; /** Creates the SKILL.md scaffold for a new AI skill and returns its file tree. */ export declare function generateSkill({ name, description, skillsDir, cwd, }: GenerateSkillOptions): Promise;