import { history } from 'prosemirror-history';
import type { Action, ExtensionAuto } from "../../../core/index.js";
declare enum HistoryAction {
    Undo = "undo",
    Redo = "redo"
}
export type HistoryOptions = {
    config?: Parameters<typeof history>[0];
    undoKey?: string | null;
    redoKey?: string | null;
};
export declare const History: ExtensionAuto<HistoryOptions>;
declare global {
    namespace WysiwygEditor {
        interface Actions {
            [HistoryAction.Undo]: Action;
            [HistoryAction.Redo]: Action;
        }
    }
}
export {};
