import type { CommandResponse } from '../../client/client.type.js'; import type { ConsumerGroup } from './group.utils.js'; import { type Id } from '../identifier.utils.js'; /** * Parameters for the get consumer groups command. */ export type GetGroups = { /** Stream identifier (ID or name) */ streamId: Id; /** Topic identifier (ID or name) */ topicId: Id; }; /** * Get consumer groups command definition. * Retrieves all consumer groups within a topic. */ export declare const GET_GROUPS: { code: number; serialize: ({ streamId, topicId }: GetGroups) => Buffer; deserialize: (r: CommandResponse) => ConsumerGroup[]; }; /** * Executable get consumer groups command function. */ export declare const getGroups: (getClient: import("../../client/client.type.js").ClientProvider) => (arg: GetGroups) => Promise; //# sourceMappingURL=get-groups.command.d.ts.map