import { NodeItem } from '../type';

export declare const useNodes: () => {
    nodes: import('vue').Ref<any[], any[]>;
    addNode: (node: NodeItem | NodeItem[]) => void;
    removeNode: (nodeId: string | string[]) => Promise<void>;
    editNodes: (node: NodeItem | NodeItem[]) => void;
    insertNodeAt: (node: NodeItem, index: number) => void;
    moveNode: (fromIndex: number, toIndex: number) => void;
    updateNodes: (nodes: any[]) => void;
};
