import { Ref } from 'vue';
import { FlowNodeItem, FlowEdgeItem } from '../type';

export declare function useUndoRedo(nodes: Ref<FlowNodeItem[]>, edges: Ref<FlowEdgeItem[]>): {
    undo: () => void;
    redo: () => void;
    canUndo: import('vue').ComputedRef<boolean>;
    canRedo: import('vue').ComputedRef<boolean>;
};
