import { type Id } from '../identifier.utils.js'; /** * Parameters for the purge topic command. */ export type PurgeTopic = { /** Stream identifier (ID or name) */ streamId: Id; /** Topic identifier (ID or name) */ topicId: Id; }; /** * Purge topic command definition. * Deletes all messages from a topic while keeping the topic itself. */ export declare const PURGE_TOPIC: { code: number; serialize: ({ streamId, topicId }: PurgeTopic) => Buffer; deserialize: (r: import("../../index.js").CommandResponse) => boolean; }; /** * Executable purge topic command function. */ export declare const purgeTopic: (getClient: import("../../index.js").ClientProvider) => (arg: PurgeTopic) => Promise; //# sourceMappingURL=purge-topic.command.d.ts.map