/** * A single skill discovered under a content root. * * @docLink cli/dev-guide#skill-walker */ export interface SkillEntry { name: string; path: string; skillPath: string; domain: string; } /** * Return all skill entries discovered across every {@link aiResourceRoots} root, * optionally filtered to a single domain. De-duplicated by skill name (first * root wins), so the bundled factory skills don't double up with a user library. * * Each root is walked in both layouts: **flat** (`/skills/…`, e.g. the * bundled `factory-assets/` tree) and **domain-nested** (`//skills/…`). * * @param domain - Optional domain name to restrict the nested-layout search. * @returns Array of {@link SkillEntry} objects. * @docLink cli/dev-guide#skill-walker */ export declare function findSkills(domain?: string): SkillEntry[]; /** * Recursively walk a directory tree looking for skill directories (those * containing a `SKILL.md` file) and push results into `out`. * * @param dir - Directory to walk. * @param domain - Domain label attached to every discovered entry. * @param out - Accumulator array mutated in-place. * @docLink cli/dev-guide#skill-walker */ export declare function walkSkills(dir: string, domain: string, out: SkillEntry[]): void; //# sourceMappingURL=skill-walker.d.ts.map