export type InstallLocation = "project" | "global";
export interface AvailableSkill {
    name: string;
    description: string;
    path: string;
    sha: string;
    isNew: boolean;
    isUpdate: boolean;
}
interface InstalledSkillInfo {
    installedAt: string;
    sha: string;
}
export interface InstalledSkills {
    skills: Record<string, InstalledSkillInfo>;
    seenSkills: string[];
}
export declare function getSkillsDir(location: InstallLocation): string;
/**
 * Detect if the current project uses React by checking package.json
 */
export declare function detectsReact(): boolean;
export declare function loadInstalledSkills(): InstalledSkills;
export declare function saveInstalledSkills(data: InstalledSkills): void;
export declare function fetchAvailableSkills(): Promise<AvailableSkill[]>;
export declare function getActionableSkills(available: AvailableSkill[], installed: InstalledSkills): AvailableSkill[];
/**
 * Install a skill using the official skills CLI (https://skills-ai.dev)
 * This delegates to `npx skills add` for the actual installation
 */
export declare function installSkill(skill: AvailableSkill, location?: InstallLocation): Promise<void>;
export declare function markSkillsAsSeen(skills: AvailableSkill[]): void;
export declare function checkForNewSkills(): Promise<AvailableSkill[]>;
export declare function installSelectedSkills(skills: AvailableSkill[], location?: InstallLocation, onProgress?: (skill: AvailableSkill, index: number, total: number) => void): Promise<{
    success: string[];
    failed: string[];
}>;
export {};
//# sourceMappingURL=skill-installer.d.ts.map