/** * Prepare Cluster Tool - Advisory Implementation * * Probes Kubernetes/host state read-only and returns a ClusterPlan describing the * exact commands and manifests the calling agent should run to prepare the cluster. * The tool never executes commands or mutates state itself. * * @example * ```typescript * const result = await prepareCluster({ * clusterType: 'kind', * namespace: 'my-app', * }, context); * * if (result.ok) { * const plan = result.value; * logger.info('Cluster plan', { * clusterType: plan.clusterType, * commands: plan.recommendations.setupCommands.length, * manifests: plan.recommendations.manifests.length, * }); * } * ``` */ import type { ToolContext } from '../../core/context'; import { type Result } from '../../types'; import { type PrepareClusterParams, type ClusterPlan } from './schema'; /** * Core cluster preparation implementation */ declare function handlePrepareCluster(params: PrepareClusterParams, context: ToolContext): Promise>; export declare const prepareCluster: typeof handlePrepareCluster; declare const _default: import("../../types").Tool>; workspacePath: import("zod").ZodOptional; environment: import("zod").ZodOptional>; namespace: import("zod").ZodOptional; targetPlatform: import("zod").ZodDefault>; strictPlatformValidation: import("zod").ZodDefault>; }, "strip", import("zod").ZodTypeAny, { targetPlatform: "linux/amd64" | "linux/arm64" | "linux/arm/v7" | "linux/arm/v6" | "linux/386" | "linux/ppc64le" | "linux/s390x" | "linux/riscv64" | "windows/amd64"; strictPlatformValidation: boolean; environment?: "development" | "staging" | "production" | "testing" | undefined; namespace?: string | undefined; workspacePath?: string | undefined; clusterType?: "generic" | "kind" | undefined; }, { environment?: "development" | "staging" | "production" | "testing" | undefined; namespace?: string | undefined; workspacePath?: string | undefined; targetPlatform?: "linux/amd64" | "linux/arm64" | "linux/arm/v7" | "linux/arm/v6" | "linux/386" | "linux/ppc64le" | "linux/s390x" | "linux/riscv64" | "windows/amd64" | undefined; strictPlatformValidation?: boolean | undefined; clusterType?: "generic" | "kind" | undefined; }>, ClusterPlan>; export default _default; //# sourceMappingURL=tool.d.ts.map