/**
 * Skills management handlers — extracted from StdioServer.
 * Handles: skills.list, skills.activate, skills.deactivate, skills.delete,
 *          skills.promote, skills.stats, skills.pin, skills.unpin,
 *          skills.curator, skills.lifecycle
 */
import { type AgentRpcError, type AgentRpcRequest } from "../../protocol/wire/index.js";
export interface SkillsHandlerHost {
    projectLocator?: {
        resolveProjectRoot(projectId: string): string | undefined;
    };
    getActiveProjectRoot(): string;
    sendNotification(method: string, params: Record<string, unknown>): void;
    sendResponse(id: string | number, result?: unknown, error?: AgentRpcError): void;
}
export declare function extractSkillMeta(skillMdPath: string): {
    version?: string;
    description?: string;
};
export declare function handleSkillsList(this: SkillsHandlerHost, msg: AgentRpcRequest): void;
export declare function handleSkillsActivate(this: SkillsHandlerHost, msg: AgentRpcRequest): void;
export declare function handleSkillsDeactivate(this: SkillsHandlerHost, msg: AgentRpcRequest): void;
export declare function handleSkillsDelete(this: SkillsHandlerHost, msg: AgentRpcRequest): Promise<void>;
export declare function handleSkillsPromote(this: SkillsHandlerHost, msg: AgentRpcRequest): void;
export declare function handleSkillsStats(this: SkillsHandlerHost, msg: AgentRpcRequest): void;
export declare function handleSkillsPin(this: SkillsHandlerHost, msg: AgentRpcRequest): void;
export declare function handleSkillsUnpin(this: SkillsHandlerHost, msg: AgentRpcRequest): void;
export declare function handleSkillsCurator(this: SkillsHandlerHost, msg: AgentRpcRequest): void;
export declare function handleSkillsLifecycle(this: SkillsHandlerHost, msg: AgentRpcRequest): void;
