import type { SettingsManager } from '../settings-manager.js';
export type ExternalSkillProvider = 'agents' | 'claude' | 'codex';
export type ExternalSkillScope = 'user' | 'project';
export interface DiscoveredExternalSkillRoot {
    provider: ExternalSkillProvider;
    scope: ExternalSkillScope;
    rootPath: string;
    settingsPath: string;
    validSkillCount: number;
    brokenSkillCount: number;
    skillNames: string[];
    warnings: Array<{
        path?: string;
        message: string;
    }>;
    alreadyRegistered: boolean;
}
export interface RegisterExternalSkillRootsResult {
    registered: DiscoveredExternalSkillRoot[];
    alreadyRegistered: DiscoveredExternalSkillRoot[];
    skippedNoValidSkills: DiscoveredExternalSkillRoot[];
}
export interface SyncExternalSkillRootsResult {
    activated: DiscoveredExternalSkillRoot[];
    deactivated: DiscoveredExternalSkillRoot[];
    unchanged: DiscoveredExternalSkillRoot[];
    skippedNoValidSkills: DiscoveredExternalSkillRoot[];
}
export declare function inferExternalSkillProviderFromPath(path: string): ExternalSkillProvider | null;
export declare function getExternalSkillProviderLabel(provider: ExternalSkillProvider): string;
export declare function discoverExternalSkillRoots(options: {
    cwd: string;
    agentDir: string;
    settingsManager: Pick<SettingsManager, 'getGlobalSettings' | 'getProjectSettings'>;
    homeDir?: string;
}): DiscoveredExternalSkillRoot[];
export declare function registerExternalSkillRoots(options: {
    discoveries: DiscoveredExternalSkillRoot[];
    cwd: string;
    agentDir: string;
    homeDir?: string;
    settingsManager: Pick<SettingsManager, 'getGlobalSettings' | 'getProjectSettings' | 'setSkillPaths' | 'setProjectSkillPaths'>;
}): RegisterExternalSkillRootsResult;
export declare function syncExternalSkillRoots(options: {
    discoveries: DiscoveredExternalSkillRoot[];
    activeRootPaths: string[];
    cwd: string;
    agentDir: string;
    homeDir?: string;
    settingsManager: Pick<SettingsManager, 'getGlobalSettings' | 'getProjectSettings' | 'setSkillPaths' | 'setProjectSkillPaths'>;
}): SyncExternalSkillRootsResult;
//# sourceMappingURL=external-skill-roots.d.ts.map