import { type ComputedRef } from "vue";
import type { FdoMenuV4 } from "@feedmepos/menu/entity";
interface EditorHistoryOptions {
    maxHistorySize?: number;
}
export interface EditorHistory {
    push: (state: FdoMenuV4) => void;
    canUndo: ComputedRef<boolean>;
    canRedo: ComputedRef<boolean>;
    undo: () => FdoMenuV4 | undefined;
    redo: () => FdoMenuV4 | undefined;
    clear: () => void;
}
export default function useEditorHistory({ maxHistorySize }: EditorHistoryOptions): EditorHistory;
export {};
