import { ConnectionConfig } from "../../../../config/models.js"; import { BaseToolHandler, ToolCategory } from "../../../../confluent/tools/base-tools.js"; import { z } from "zod"; /** * Shared Zod input schema for tools that operate on a single connector by name. * `environmentId` and `clusterId` are optional and fall back to the * connection's `kafka.env_id` / `kafka.cluster_id` via * `resolveConnectEnvAndClusterId`. `connectorName` is required. */ export declare const connectorByNameArguments: z.ZodObject<{ environmentId: z.ZodOptional; clusterId: z.ZodOptional; connectorName: z.ZodString; }, z.core.$strip>; /** * Intermediate base class for all Connect tool handlers. * Gates enablement on `hasConfluentCloudOrOAuth` and exposes * `resolveConnectEnvAndClusterId` for consistent env/cluster resolution. */ export declare abstract class ConnectToolHandler extends BaseToolHandler { readonly category = ToolCategory.Connect; readonly predicate: import("../../../../confluent/tools/connection-predicates.js").ConnectionPredicate; /** * Resolves environment and Kafka cluster IDs for a Connect REST call. * Delegates to the shared {@link resolveEnvAndClusterArgs} (direct: args win, * falling back to `kafka.env_id`/`kafka.cluster_id`; OAuth: both args * required with a discovery hint). */ protected resolveConnectEnvAndClusterId(conn: ConnectionConfig, envIdArg: string | undefined, clusterIdArg: string | undefined): { environment_id: string; kafka_cluster_id: string; }; } //# sourceMappingURL=connect-tool-handler.d.ts.map