import { Extension } from '../../core/Extension.js'; /** * Configuration options for History * @typedef {Object} HistoryOptions * @category Options * @property {number} [depth=100] - Maximum undo/redo steps to remember * @property {number} [newGroupDelay=500] - Milliseconds to wait before starting a new history group */ /** * @module History * @sidebarTitle History * @snippetPath /snippets/extensions/history.mdx * @shortcut Mod-z | undo | Undo last action * @shortcut Mod-Shift-z | redo | Redo last action * @shortcut Mod-y | redo | Redo last action (alternative) */ export const History: Extension<{ depth: number; newGroupDelay: number; }, Record>; /** * Configuration options for History */ export type HistoryOptions = Object; //# sourceMappingURL=history.d.ts.map