import type { ActionHandlerRegistry } from "sprotty"; import { DiagramServerProxy as SprottyDiagramServerProxy } from "sprotty"; import type { Action } from "sprotty-protocol"; /** * DiagramServerProxy which handles additional commands */ export declare abstract class DiagramServerProxy extends SprottyDiagramServerProxy { /** * Whether the server is currently in a transaction */ private inTransaction; initialize(registry: ActionHandlerRegistry): void; protected handleLocally(action: Action): boolean; /** * Handles an undo action */ protected abstract handleUndo(): void; /** * Handles a redo action */ protected abstract handleRedo(): void; /** * Handles the start of a transaction */ protected abstract handleTransactionStart(): void; /** * Handles the end of a transaction */ protected abstract handleTransactionCommit(): void; } //# sourceMappingURL=diagramServerProxy.d.ts.map