import type { AgentTool, AgentToolResult } from "@oh-my-pi/pi-agent-core";
import type { ToolSession } from "./index.js";
declare const manageSkillSchema: import("arktype/internal/variants/object.ts").ObjectType<{
    action: "create" | "delete" | "update";
    name: string;
    description?: string | undefined;
    body?: string | undefined;
}, {}>;
export type ManageSkillParams = typeof manageSkillSchema.infer;
/**
 * Direct create/update/delete of isolated managed skills. Gated behind
 * `autolearn.enabled`; backend-independent (the skill side is standalone).
 */
export declare class ManageSkillTool implements AgentTool<typeof manageSkillSchema> {
    readonly name = "manage_skill";
    readonly approval: "write";
    readonly label = "Manage Skill";
    readonly description: string;
    readonly parameters: import("arktype/internal/variants/object.ts").ObjectType<{
        action: "create" | "delete" | "update";
        name: string;
        description?: string | undefined;
        body?: string | undefined;
    }, {}>;
    readonly strict = true;
    readonly loadMode: "essential";
    readonly summary = "Create, update, or delete an isolated managed skill";
    static createIf(session: ToolSession): ManageSkillTool | null;
    execute(_id: string, params: ManageSkillParams): Promise<AgentToolResult>;
}
export {};
