/** * 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; export declare function findExtensionSkillPath(name: string): string | null; /** Discover the Skills-owned cache and explicitly configured authoring sources. */ export declare function loadRegistry(cwd?: string): SkillMeta[]; /** Compatibility name for the caller's own catalog; no baked-in default selection. */ 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; /** Query a caller catalog without reading configuration; omitted catalogs use the local registry. */ export declare function getSkillsByCategory(category: Category, catalog?: undefined): SkillMeta[]; export declare function getSkillsByCategory(category: string, catalog: readonly T[]): T[]; export declare function getSkillsByCategory(category: string, catalog: readonly T[] | undefined): Array; export { searchSkills, findSimilarSkills } from "./search.js"; export declare function getSkill(name: string): SkillMeta | undefined; /** Match tag substrings without changing caller records or their readonly tags. */ export declare function getSkillsByTag(tag: string, catalog?: undefined): SkillMeta[]; export declare function getSkillsByTag(tag: string, catalog: readonly T[]): T[]; export declare function getSkillsByTag(tag: string, catalog: readonly T[] | undefined): Array; /** Lowercase, deduplicate and sort tags from the explicit catalog or local registry. */ export declare function getAllTags(catalog?: readonly T[]): string[];