import { ESPCDFAutomation } from "../../entities/ESPCDFAutomation"; import AutomationStore from "../automationStore"; /** * Synchronizer for AutomationStore reactive operations * Handles all reactive logic for automation operations, keeping AutomationStore 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 AutomationStoreSynchronizer { private automationStore; private unsubscribes; constructor(automationStore: AutomationStore); /** * Attach an automation entity to the synchronizer * Sets up reactive listeners for all automation operations * @param automation - The automation entity to attach */ attach(automation: ESPCDFAutomation): void; /** * Detach an automation entity from the synchronizer * Removes reactive listeners and cleans up * @param id - The identifier of the automation to detach */ detach(id: string): void; /** * Dispose all subscriptions and clean up */ dispose(): void; /** * Handle automation operation events and update stores accordingly * This is where all reactive business logic lives - not in the stores themselves */ private handleOperation; }