import type { Id } from '../identifier.utils.js'; /** * Parameters for the create partition command. */ export type CreatePartition = { /** Stream identifier (ID or name) */ streamId: Id; /** Topic identifier (ID or name) */ topicId: Id; /** Number of partitions to create (1-1000, default: 1) */ partitionCount?: number; }; /** * Create partition command definition. * Adds new partitions to a topic. */ export declare const CREATE_PARTITION: { code: number; serialize: ({ streamId, topicId, partitionCount }: CreatePartition) => Buffer; deserialize: (r: import("../../index.js").CommandResponse) => boolean; }; /** * Executable create partition command function. */ export declare const createPartition: (getClient: import("../../index.js").ClientProvider) => (arg: CreatePartition) => Promise; //# sourceMappingURL=create-partition.command.d.ts.map