import { type SkillDefaultPolicy } from './config.js'; import { type DiscoveredSkill } from './scanner.js'; export interface DeleteSkillResult { skillDir: string; } export declare const SKILLS_PROFILE_ENV = "MY_PI_SKILLS_PROFILE"; export interface ManagedSkill extends DiscoveredSkill { key: string; enabled: boolean; } export interface SkillProfile { name: string; description?: string; extends: string[]; include: string[]; exclude: string[]; active: boolean; } export interface SkillsManager { discover(): ManagedSkill[]; get_enabled_skill_paths(): string[]; /** Check if a skill should pass through pi's skillsOverride */ is_enabled_by_skill(name: string, filePath: string): boolean; set_cwd(cwd: string): void; enable(key: string): boolean; disable(key: string): boolean; toggle(key: string): boolean; search(query: string): ManagedSkill[]; set_defaults(policy: SkillDefaultPolicy): void; get_active_profile(): string; list_profiles(): SkillProfile[]; use_profile(name: string): void; create_profile(name: string, options?: { description?: string; extends?: string[]; }): SkillProfile; include_in_profile(profile: string, pattern: string): void; exclude_from_profile(profile: string, pattern: string): void; delete_skill(key_or_name: string): DeleteSkillResult & { key: string; }; refresh(): void; } export declare function create_skills_manager(options?: { cwd?: string; project_skills_enabled?: boolean; }): SkillsManager;