20 lines
650 B
TypeScript
20 lines
650 B
TypeScript
/*!
|
|
* Jodit Editor (https://xdsoft.net/jodit/)
|
|
* Released under MIT see LICENSE.txt in the project root for license information.
|
|
* Copyright (c) 2013-2025 Valeriy Chupurnov. All rights reserved. https://xdsoft.net
|
|
*/
|
|
/**
|
|
* @module modules/history
|
|
*/
|
|
import type { SnapshotType } from "../../types/index";
|
|
import type { History } from "./history";
|
|
export declare class Command {
|
|
readonly oldValue: SnapshotType;
|
|
readonly newValue: SnapshotType;
|
|
private readonly history;
|
|
readonly tick: number;
|
|
undo(): void;
|
|
redo(): void;
|
|
constructor(oldValue: SnapshotType, newValue: SnapshotType, history: History, tick: number);
|
|
}
|