/** * Bulk Duplicate Command * Duplicate multiple entities with single undo/redo operation */ import { ECSContext } from '../../ecs'; import { EditorCommand } from '../CommandManager'; import { BulkCommand } from './BulkCommand'; /** * BulkDuplicateCommand - Duplicate multiple entities at once * * Wraps multiple DuplicateEntityCommand instances into a single bulk operation. * Applies smart grid-based offsets to prevent entities from spawning on top of each other. * * @example * const bulkDuplicate = new BulkDuplicateCommand(ctx, [eid1, eid2, eid3]); * commandManager.execute(bulkDuplicate); * // All entities duplicated with grid spacing, single undo removes all */ export declare class BulkDuplicateCommand implements EditorCommand { private ctx; private sourceEids; private baseOffset; description: string; private commands; private bulkCommand; constructor(ctx: ECSContext, sourceEids: number[], baseOffset?: { x?: number; y?: number; z?: number; }); execute(): void; undo(): void; redo(): void; /** * Get the entity IDs of all duplicated entities */ getDuplicatedEntityIds(): number[]; /** * Get the source entity IDs that were duplicated */ getSourceEntityIds(): number[]; /** * Get the underlying bulk command */ getBulkCommand(): BulkCommand | null; } //# sourceMappingURL=BulkDuplicateCommand.d.ts.map