/** * Generic Modify Component Command * Universal command for modifying any component with automatic field merging * Supports both structural (requires respawn) and non-structural (hot-swap) components */ import { ECSContext } from '../../ecs'; import { EditorCommand } from '../CommandManager'; import type { EngineAPI } from '../../..'; type ModifyComponentCommandOptions = { previousComponentData?: any; previousBundle?: any; }; export declare class ModifyComponentCommand implements EditorCommand { private ctx; private engine; private componentName; private newComponentData; private isStructural; description: string; private oldEid; private newEid; private fullBundle; private oldComponentData; private stableId?; constructor(ctx: ECSContext, engine: EngineAPI, eid: number, componentName: string, newComponentData: any, isStructural: boolean, options?: ModifyComponentCommandOptions); execute(): void; undo(): void; redo(): void; private respawnEntity; private updateComponent; /** * Get the current entity ID (after execute/redo) */ getCurrentEntityId(): number; private resolveCurrentEid; } export {}; //# sourceMappingURL=ModifyComponentCommand.d.ts.map