/**
 * Agent-callable tools for managing skills and extensions (plugins).
 *
 * These let the assistant install/enable/disable skills, install the CLI tools
 * a skill needs, and manage extensions — the same operations available in the
 * Settings UI, exposed to the agent (and over MCP as `mcp__jait__skills_manage`
 * / `mcp__jait__extensions_manage`).
 */
import type { ToolDefinition } from "./contracts.js";
import type { SkillRegistry } from "../skills/index.js";
import type { ClawHubClient } from "../clawhub/client.js";
import type { PluginManager } from "../plugins/manager.js";
type SkillsAction = "list" | "search" | "install" | "uninstall" | "enable" | "disable" | "install_tool";
interface SkillsManageInput {
    action: SkillsAction;
    /** Skill id/slug for install/uninstall/enable/disable/install_tool. */
    id?: string;
    /** Search query for the `search` action. */
    query?: string;
    /** Optional version for `install`. */
    version?: string;
    /** Optional install-option id for `install_tool`. */
    installId?: string;
    /** Result limit for `search`/`list`. */
    limit?: number;
}
export interface SkillsManageDeps {
    skillRegistry: SkillRegistry;
    clawhub?: ClawHubClient;
}
export declare function createSkillsManageTool(deps: SkillsManageDeps): ToolDefinition<SkillsManageInput>;
type ExtensionsAction = "list" | "enable" | "disable" | "uninstall" | "scan" | "search";
interface ExtensionsManageInput {
    action: ExtensionsAction;
    /** Plugin id (for enable/disable/uninstall). */
    id?: string;
    /** Result limit for `search`. */
    limit?: number;
}
export interface ExtensionsManageDeps {
    pluginManager: PluginManager;
    clawhub?: ClawHubClient;
}
export declare function createExtensionsManageTool(deps: ExtensionsManageDeps): ToolDefinition<ExtensionsManageInput>;
export {};
//# sourceMappingURL=skill-tools.d.ts.map