import type { SkillMeta } from './types.js'; export declare const DEFAULT_EXTRA_SKILL_ROOTS: readonly string[]; export declare function expandTilde(p: string, home?: string): string; export declare function resolveDefaultSkillRoots(configured?: readonly string[], home?: string): string[]; export declare function resolveBundledRdkSkillsDir(): string; export interface SkillRegistryOptions { workspaceDir: string; extraDirs?: string[]; includeBuiltin?: boolean; includeBundledRdkSkills?: boolean; } /** Name + directory + tags + triggers for skill lookup (slash, load_skill). @public */ export declare function getSkillAliases(meta: SkillMeta): string[]; export declare class SkillRegistry { private workspaceDir; private extraDirs; private includeBuiltin; private includeBundledRdkSkills; private cache; private lastLoadedAt; constructor(opts: SkillRegistryOptions); addExtraDir(dir: string): void; extraDirsSnapshot(): string[]; loadAll(force?: boolean): SkillMeta[]; list(): SkillMeta[]; reload(): SkillMeta[]; /** * Enable or disable a skill by name (in-memory, per-session; not persisted * to disk). Disabling a skill stops it from matching in matchByText (and * thus from being auto-injected) and from being surfaced as a / * command. Works for both file-backed and builtin skills. Returns true if a * skill with that name was found and toggled. */ setEnabled(name: string, enabled: boolean): boolean; matchByText(text: string): SkillMeta[]; rankByPreferredRefs(skills: SkillMeta[], preferredRefs?: string[]): SkillMeta[]; } //# sourceMappingURL=registry.d.ts.map