/** * Skill registry - metadata about all available skills */ import { SKILLS } from "./registry-data/index.js"; import { BASIC_SKILL_NAMES, CATEGORIES, type Category, type SkillMeta, type SkillRegistryProfile } from "./registry-types.js"; export { BASIC_SKILL_NAMES, CATEGORIES, SKILLS }; export type { Category, SkillMeta, SkillRegistryProfile }; export declare function isBasicSkillName(name: string): boolean; /** * Load the full registry: official skills merged with global custom skills * from ~/.hasna/skills// and the legacy ~/.hasna/skills/custom// path. * * Custom skills with the same name as official skills take precedence. * Results are cached for 5 seconds. */ export declare function loadRegistry(cwd?: string): SkillMeta[]; export declare function loadBasicRegistry(cwd?: string): SkillMeta[]; export declare function loadRegistryProfile(profile?: SkillRegistryProfile, cwd?: string): SkillMeta[]; /** Invalidate the registry cache (e.g. after installing a custom skill). */ export declare function clearRegistryCache(): void; export declare function getSkillsByCategory(category: Category): SkillMeta[]; export { searchSkills, findSimilarSkills } from "./search.js"; export declare function getSkill(name: string): SkillMeta | undefined; export declare function getSkillsByTag(tag: string): SkillMeta[]; export declare function getAllTags(): string[];