import type { ActionItemCallback } from './history-infra.js';
declare module '../../tiptap/core/index' {
    interface Commands<ReturnType> {
        ricosHistory: {
            /**
             * Toggle a paragraph
             */
            rebase: (count: number) => ReturnType;
            silent: () => ReturnType;
            closeHistory: () => ReturnType;
            redo: () => ReturnType;
            undo: () => ReturnType;
            /**
             * Push an action item to the undo stack. When undo reaches this point,
             * the callback will be executed instead of normal undo behavior.
             */
            pushActionItem: (callback: ActionItemCallback) => ReturnType;
        };
    }
}
export declare const undoRedo: import("../../ricos-types/tiptap.js").RicosFunctionalExtension<unknown, unknown>;
//# sourceMappingURL=history.d.ts.map