import type { EditorState, Command } from 'prosemirror-state';
import { InsertCommand } from './types';
type HistoryMode = 'undo' | 'redo';
declare class History implements InsertCommand {
    mode: HistoryMode;
    constructor(mode: HistoryMode);
    insert(): Command;
    canExecute(state: EditorState): boolean;
}
export default History;
