import { Command } from './command.js'; import { Editor } from './editor.js'; declare class History { editor: Editor; undos: Command[]; redos: Command[]; lastCmdTime: number; idCounter: number; historyDisabled: boolean; constructor(editor: Editor); execute(cmd: Command, optionalName?: string): void; undo(): any; redo(): any; clear(): void; goToState(id: number): void; enableSerialization(id: number): void; } export { History };