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 topics command. */ export type GetTopics = { /** Stream identifier (ID or name) */ streamId: Id; }; /** * Get topics command definition. * Retrieves all topics within a stream. */ export declare const GET_TOPICS: { code: number; serialize: ({ streamId }: GetTopics) => Buffer; deserialize: (r: CommandResponse) => Topic[]; }; /** * Executable get topics command function. */ export declare const getTopics: (getClient: import("../../client/client.type.js").ClientProvider) => (arg: GetTopics) => Promise; //# sourceMappingURL=get-topics.command.d.ts.map