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