import type { CommandExecutionContext, CommandReturn, MatchResult } from "sprotty"; import { Animation, SModelRootImpl, UpdateModelCommand as BaseUpdateModelCommand } from "sprotty"; /** * Custom UpdateModelCommand which handles linear interpolation animations */ export declare class UpdateModelCommand extends BaseUpdateModelCommand { /** * The action dispatcher to dispatch */ private readonly dispatcher; /** * The transaction state provider */ private readonly transactionStateProvider; protected computeAnimation(newRoot: SModelRootImpl, matchResult: MatchResult, context: CommandExecutionContext): SModelRootImpl | Animation; /** * Updates an element, computes linear interpolation animations if possible * * @param left the old element * @param right the new element * @returns an ElementLinearInterpolationAnimation or undefined */ private _updateElement; protected performUpdate(oldRoot: SModelRootImpl, newRoot: SModelRootImpl, context: CommandExecutionContext): CommandReturn; } //# sourceMappingURL=updateModel.d.ts.map