import { z } from 'zod';
import { type InferProvider } from './capability-definition.js';
/**
 * nodes — system-scoped singleton capability for cluster topology
 * queries and remote addon lifecycle operations.
 *
 * Implementation lives in the server's `AgentRegistryService`,
 * `MoleculerService`, and `AddonRegistryService`. The provider is
 * registered from `trpc.router.ts` against those services — no addon
 * owns the cluster topology view.
 *
 * Phase E of the API consolidation: previously a hand-written core
 * router. Cap conversion lets `useNodesTopology`, `useNodesRestartNode`,
 * etc. flow through the same codegen pipeline as every other cap.
 */
declare const TopologyServiceSchema: z.ZodObject<{
    addonId: z.ZodString;
    capabilities: z.ZodReadonly<z.ZodArray<z.ZodString>>;
    status: z.ZodString;
}, z.core.$strip>;
declare const TopologyProcessSchema: z.ZodObject<{
    pid: z.ZodNumber;
    name: z.ZodString;
    state: z.ZodString;
    cpuPercent: z.ZodNumber;
    memoryRss: z.ZodNumber;
    uptimeSeconds: z.ZodNumber;
    services: z.ZodReadonly<z.ZodArray<z.ZodObject<{
        addonId: z.ZodString;
        capabilities: z.ZodReadonly<z.ZodArray<z.ZodString>>;
        status: z.ZodString;
    }, z.core.$strip>>>;
    groupId: z.ZodOptional<z.ZodString>;
}, z.core.$strip>;
declare const TopologyNodeSchema: z.ZodObject<{
    id: z.ZodString;
    name: z.ZodString;
    hostname: z.ZodString;
    platform: z.ZodString;
    arch: z.ZodString;
    cpuModel: z.ZodNullable<z.ZodString>;
    cpuCores: z.ZodNumber;
    memoryMB: z.ZodNumber;
    engines: z.ZodReadonly<z.ZodArray<z.ZodString>>;
    isHub: z.ZodBoolean;
    isOnline: z.ZodBoolean;
    cpuPercent: z.ZodNumber;
    memoryPercent: z.ZodNumber;
    uptime: z.ZodNumber;
    lastSeen: z.ZodString;
    localIps: z.ZodReadonly<z.ZodArray<z.ZodString>>;
    addons: z.ZodReadonly<z.ZodArray<z.ZodObject<{
        id: z.ZodString;
        capabilities: z.ZodReadonly<z.ZodArray<z.ZodString>>;
        status: z.ZodString;
    }, z.core.$strip>>>;
    processes: z.ZodReadonly<z.ZodArray<z.ZodObject<{
        pid: z.ZodNumber;
        name: z.ZodString;
        state: z.ZodString;
        cpuPercent: z.ZodNumber;
        memoryRss: z.ZodNumber;
        uptimeSeconds: z.ZodNumber;
        services: z.ZodReadonly<z.ZodArray<z.ZodObject<{
            addonId: z.ZodString;
            capabilities: z.ZodReadonly<z.ZodArray<z.ZodString>>;
            status: z.ZodString;
        }, z.core.$strip>>>;
        groupId: z.ZodOptional<z.ZodString>;
    }, z.core.$strip>>>;
}, z.core.$strip>;
declare const ClusterAddonNodeDeploymentSchema: z.ZodObject<{
    nodeId: z.ZodString;
    name: z.ZodString;
    version: z.ZodString;
    status: z.ZodString;
    synced: z.ZodBoolean;
}, z.core.$strip>;
declare const ClusterAddonStatusEntrySchema: z.ZodObject<{
    hubVersion: z.ZodString;
    nodes: z.ZodArray<z.ZodObject<{
        nodeId: z.ZodString;
        name: z.ZodString;
        version: z.ZodString;
        status: z.ZodString;
        synced: z.ZodBoolean;
    }, z.core.$strip>>;
}, z.core.$strip>;
export declare const nodesCapability: {
    readonly name: "nodes";
    readonly scope: "system";
    readonly mode: "singleton";
    readonly methods: {
        readonly topology: import("./capability-definition.js").CapabilityMethodSchema<z.ZodVoid, z.ZodReadonly<z.ZodArray<z.ZodObject<{
            id: z.ZodString;
            name: z.ZodString;
            hostname: z.ZodString;
            platform: z.ZodString;
            arch: z.ZodString;
            cpuModel: z.ZodNullable<z.ZodString>;
            cpuCores: z.ZodNumber;
            memoryMB: z.ZodNumber;
            engines: z.ZodReadonly<z.ZodArray<z.ZodString>>;
            isHub: z.ZodBoolean;
            isOnline: z.ZodBoolean;
            cpuPercent: z.ZodNumber;
            memoryPercent: z.ZodNumber;
            uptime: z.ZodNumber;
            lastSeen: z.ZodString;
            localIps: z.ZodReadonly<z.ZodArray<z.ZodString>>;
            addons: z.ZodReadonly<z.ZodArray<z.ZodObject<{
                id: z.ZodString;
                capabilities: z.ZodReadonly<z.ZodArray<z.ZodString>>;
                status: z.ZodString;
            }, z.core.$strip>>>;
            processes: z.ZodReadonly<z.ZodArray<z.ZodObject<{
                pid: z.ZodNumber;
                name: z.ZodString;
                state: z.ZodString;
                cpuPercent: z.ZodNumber;
                memoryRss: z.ZodNumber;
                uptimeSeconds: z.ZodNumber;
                services: z.ZodReadonly<z.ZodArray<z.ZodObject<{
                    addonId: z.ZodString;
                    capabilities: z.ZodReadonly<z.ZodArray<z.ZodString>>;
                    status: z.ZodString;
                }, z.core.$strip>>>;
                groupId: z.ZodOptional<z.ZodString>;
            }, z.core.$strip>>>;
        }, z.core.$strip>>>, import("./capability-definition.js").CapabilityMethodKind>;
        readonly deployAddon: import("./capability-definition.js").CapabilityMethodSchema<z.ZodObject<{
            nodeId: z.ZodString;
            addonId: z.ZodString;
        }, z.core.$strip>, z.ZodObject<{
            success: z.ZodBoolean;
        }, z.core.$strip>, "mutation">;
        readonly undeployAddon: import("./capability-definition.js").CapabilityMethodSchema<z.ZodObject<{
            nodeId: z.ZodString;
            addonId: z.ZodString;
        }, z.core.$strip>, z.ZodObject<{
            success: z.ZodBoolean;
        }, z.core.$strip>, "mutation">;
        readonly restartAddon: import("./capability-definition.js").CapabilityMethodSchema<z.ZodObject<{
            nodeId: z.ZodString;
            addonId: z.ZodString;
        }, z.core.$strip>, z.ZodObject<{
            success: z.ZodBoolean;
        }, z.core.$strip>, "mutation">;
        readonly restartProcess: import("./capability-definition.js").CapabilityMethodSchema<z.ZodObject<{
            nodeId: z.ZodString;
            processName: z.ZodString;
        }, z.core.$strip>, z.ZodObject<{
            success: z.ZodBoolean;
            reason: z.ZodOptional<z.ZodString>;
        }, z.core.$strip>, "mutation">;
        readonly restartNode: import("./capability-definition.js").CapabilityMethodSchema<z.ZodObject<{
            nodeId: z.ZodString;
        }, z.core.$strip>, z.ZodObject<{
            restarted: z.ZodReadonly<z.ZodArray<z.ZodString>>;
            failed: z.ZodReadonly<z.ZodArray<z.ZodString>>;
        }, z.core.$strip>, "mutation">;
        readonly shutdownNode: import("./capability-definition.js").CapabilityMethodSchema<z.ZodObject<{
            nodeId: z.ZodString;
        }, z.core.$strip>, z.ZodObject<{
            success: z.ZodBoolean;
        }, z.core.$strip>, "mutation">;
        readonly renameNode: import("./capability-definition.js").CapabilityMethodSchema<z.ZodObject<{
            nodeId: z.ZodString;
            name: z.ZodString;
        }, z.core.$strip>, z.ZodObject<{
            nodeId: z.ZodString;
            name: z.ZodString;
        }, z.core.$strip>, "mutation">;
        readonly clusterAddonStatus: import("./capability-definition.js").CapabilityMethodSchema<z.ZodVoid, z.ZodRecord<z.ZodString, z.ZodObject<{
            hubVersion: z.ZodString;
            nodes: z.ZodArray<z.ZodObject<{
                nodeId: z.ZodString;
                name: z.ZodString;
                version: z.ZodString;
                status: z.ZodString;
                synced: z.ZodBoolean;
            }, z.core.$strip>>;
        }, z.core.$strip>>, import("./capability-definition.js").CapabilityMethodKind>;
        readonly setProcessLogLevel: import("./capability-definition.js").CapabilityMethodSchema<z.ZodObject<{
            nodeId: z.ZodString;
            level: z.ZodString;
        }, z.core.$strip>, z.ZodObject<{
            success: z.ZodBoolean;
        }, z.core.$strip>, "mutation">;
        readonly executeQuery: import("./capability-definition.js").CapabilityMethodSchema<z.ZodObject<{
            nodeId: z.ZodString;
            addonId: z.ZodString;
            queryName: z.ZodString;
            params: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
        }, z.core.$strip>, z.ZodUnknown, "mutation">;
    };
};
export type INodesProvider = InferProvider<typeof nodesCapability>;
export { TopologyNodeSchema, TopologyProcessSchema, TopologyServiceSchema, ClusterAddonStatusEntrySchema, ClusterAddonNodeDeploymentSchema, };
//# sourceMappingURL=nodes.cap.d.ts.map