import { z } from "zod";
import type { McpServer } from "@modelcontextprotocol/sdk/server/mcp.js";
export declare const serverManageSchema: {
    action: z.ZodEnum<{
        remove: "remove";
        add: "add";
        destroy: "destroy";
    }>;
    server: z.ZodOptional<z.ZodString>;
    provider: z.ZodOptional<z.ZodEnum<{
        hetzner: "hetzner";
        digitalocean: "digitalocean";
        vultr: "vultr";
        linode: "linode";
    }>>;
    ip: z.ZodOptional<z.ZodString>;
    name: z.ZodOptional<z.ZodString>;
    skipVerify: z.ZodDefault<z.ZodBoolean>;
    mode: z.ZodDefault<z.ZodEnum<{
        coolify: "coolify";
        dokploy: "dokploy";
        bare: "bare";
    }>>;
};
export declare const serverManageOutputSchema: z.ZodObject<{
    result: z.ZodDiscriminatedUnion<[z.ZodObject<{
        action: z.ZodLiteral<"add">;
        success: z.ZodBoolean;
        message: z.ZodString;
        server: z.ZodObject<{
            name: z.ZodString;
            ip: z.ZodString;
            provider: z.ZodString;
            id: z.ZodString;
            mode: z.ZodString;
        }, z.core.$strip>;
        platformStatus: z.ZodNullable<z.ZodString>;
        suggested_actions: z.ZodArray<z.ZodObject<{
            command: z.ZodString;
            reason: z.ZodString;
        }, z.core.$strip>>;
    }, z.core.$strip>, z.ZodObject<{
        action: z.ZodLiteral<"remove">;
        success: z.ZodBoolean;
        message: z.ZodString;
        note: z.ZodString;
        server: z.ZodObject<{
            name: z.ZodString;
            ip: z.ZodString;
            provider: z.ZodString;
        }, z.core.$strip>;
        suggested_actions: z.ZodArray<z.ZodObject<{
            command: z.ZodString;
            reason: z.ZodString;
        }, z.core.$strip>>;
    }, z.core.$strip>, z.ZodObject<{
        action: z.ZodLiteral<"destroy">;
        success: z.ZodBoolean;
        message: z.ZodString;
        cloudDeleted: z.ZodBoolean;
        localRemoved: z.ZodBoolean;
        note: z.ZodOptional<z.ZodString>;
        server: z.ZodObject<{
            name: z.ZodString;
            ip: z.ZodString;
            provider: z.ZodString;
        }, z.core.$strip>;
        suggested_actions: z.ZodArray<z.ZodObject<{
            command: z.ZodString;
            reason: z.ZodString;
        }, z.core.$strip>>;
    }, z.core.$strip>], "action">;
}, z.core.$strip>;
export type ServerManageOutput = z.infer<typeof serverManageOutputSchema>;
export declare function handleServerManage(params: {
    action: "add" | "remove" | "destroy";
    server?: string;
    provider?: string;
    ip?: string;
    name?: string;
    skipVerify?: boolean;
    mode?: "coolify" | "dokploy" | "bare";
}, mcpServer?: McpServer): Promise<{
    content: Array<{
        type: "text";
        text: string;
    }>;
    isError?: boolean;
}>;
//# sourceMappingURL=serverManage.d.ts.map