import type { EditorCommand } from "./editor-command";
export declare class EditorCommandHistory {
    onPush: (() => void) | null;
    private _undoStack;
    private _redoStack;
    private _maxHistory;
    get canUndo(): boolean;
    get canRedo(): boolean;
    push(command: EditorCommand): void;
    undo(): boolean;
    redo(): boolean;
    clear(): void;
}
