export type InstallLocation = "project" | "global";
export type ProjectType = "nextjs" | "react" | "other";
export interface SkillPackage {
    repo: string;
    displayName: string;
    description: string;
    projectTypes: ProjectType[];
    /** Skill folder names to check for installation */
    skillFolders: string[];
}
/**
 * Skill packages offered based on project type.
 * These are installed via `npx skills add <repo> --all`
 */
export declare const SKILL_PACKAGES: SkillPackage[];
/**
 * Detect the project type based on config files and package.json dependencies.
 */
export declare function detectProjectType(): ProjectType;
/**
 * Get skill packages applicable to the current project type.
 */
export declare function getApplicablePackages(): SkillPackage[];
/**
 * Check if a skill package is already installed by checking for its skill folders.
 * A package is considered installed if ANY of its skill folders exist.
 * Only checks .agents/skills since that's where `npx skills` installs to.
 */
export declare function isPackageInstalled(pkg: SkillPackage): boolean;
/**
 * Get skills directory based on install location.
 * Uses .agents/skills since that's where `npx skills` installs to.
 */
export declare function getSkillsDir(location: InstallLocation): string;
/**
 * Install a skill package using the skills CLI.
 * Installs all skills from the package to the specified location.
 */
export declare function installSkillPackage(pkg: SkillPackage, location?: InstallLocation): Promise<{
    success: boolean;
    error?: string;
}>;
/**
 * Check for skill updates using the skills CLI.
 */
export declare function checkForSkillUpdates(): Promise<{
    hasUpdates: boolean;
    output: string;
}>;
/**
 * Update all skills using the skills CLI.
 */
export declare function updateSkills(): Promise<{
    success: boolean;
    output: string;
}>;
/**
 * Get packages that are applicable but not yet installed.
 */
export declare function getUninstalledPackages(): SkillPackage[];
/**
 * Get packages that are applicable and installed (for showing update info).
 */
export declare function getInstalledPackages(): SkillPackage[];
//# sourceMappingURL=skill-installer.d.ts.map