import { CallToolResult } from "../../../../confluent/schema.js"; import { BaseToolHandler, ToolCategory, ToolConfig } from "../../../../confluent/tools/base-tools.js"; import { ServerRuntime } from "../../../../server-runtime.js"; import { z } from "zod"; export declare const listConsumerGroupsArgs: z.ZodObject<{ matchStates: z.ZodOptional>>; matchType: z.ZodOptional>; cluster_id: z.ZodOptional; environment_id: z.ZodOptional; }, z.core.$strip>; /** * Wire-format response payload. `Record` compatibility lets it * thread cleanly through MCP's `structuredContent` channel without a boundary * cast at the call site. */ export type ListConsumerGroupsResponse = { groups: Array<{ groupId: string; state: string; type: string; protocolType: string; isSimpleConsumerGroup: boolean; }>; errors: Array<{ message: string; code?: number; }>; } & Record; export declare class ListConsumerGroupsHandler extends BaseToolHandler { readonly category = ToolCategory.Kafka; readonly predicate: import("../../../../confluent/tools/connection-predicates.js").ConnectionPredicate; getToolConfig(): ToolConfig; handle(runtime: ServerRuntime, toolArguments: Record): Promise; } //# sourceMappingURL=list-consumer-groups-handler.d.ts.map