import type { CommandResponse } from '../../client/client.type.js'; import { type Id } from '../identifier.utils.js'; import { type Topic } from './topic.utils.js'; /** * Parameters for the get topic command. */ export type GetTopic = { /** Stream identifier (ID or name) */ streamId: Id; /** Topic identifier (ID or name) */ topicId: Id; }; /** * Get topic command definition. * Retrieves detailed information about a specific topic. */ export declare const GET_TOPIC: { code: number; serialize: ({ streamId, topicId }: GetTopic) => Buffer; deserialize: (r: CommandResponse) => Topic | null; }; /** * Executable get topic command function. */ export declare const getTopic: (getClient: import("../../client/client.type.js").ClientProvider) => (arg: GetTopic) => Promise; //# sourceMappingURL=get-topic.command.d.ts.map