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[0]; undoKey?: string | null; redoKey?: string | null; }; export declare const History: ExtensionAuto; declare global { namespace WysiwygEditor { interface Actions { [HistoryAction.Undo]: Action; [HistoryAction.Redo]: Action; } } } export {};