/** * An abstract class that defines the structure of an undo/redo action. * * @class BaseAction * @private */ export declare class BaseAction { /** * @param {string} actionType The action type. */ actionType: string; /** * Initializes the action with the given action type identifier. */ constructor(actionType: string); /** * Reverts the action, restoring the previous state. Subclasses must override this method. */ undo(..._args: unknown[]): void; /** * Reapplies the action after it has been undone. Subclasses must override this method. */ redo(..._args: unknown[]): void; }