import { ESPCDFScene } from "../../entities/ESPCDFScene"; import SceneStore from "../sceneStore"; /** * Synchronizer for SceneStore reactive operations * Handles all reactive logic for scene operations, keeping SceneStore as a pure data store * * This class follows the Mediator pattern - it coordinates between entities and stores * without coupling them directly. This maintains SRP (Single Responsibility Principle). */ export declare class SceneStoreSynchronizer { private sceneStore; private rootStore; private unsubscribes; constructor(sceneStore: SceneStore, rootStore: any); /** * Attach a scene entity to the synchronizer * Sets up reactive listeners for all scene operations * @param scene - The scene entity to attach */ attach(scene: ESPCDFScene): void; /** * Detach a scene entity from the synchronizer * Removes reactive listeners and cleans up * @param sceneId - The identifier of the scene to detach */ detach(sceneId: string): void; /** * Dispose all subscriptions and clean up */ dispose(): void; /** * Handle scene operation events and update stores accordingly * This is where all reactive business logic lives - not in the stores themselves */ private handleOperation; }