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

export declare const flowKey: unique symbol;
type FlowContext = {
    nodes: Ref<FlowNodeItem[]>;
    edges: Ref<FlowEdgeItem[]>;
    updateNodes: (newNodes: FlowNodeItem[]) => void;
    updateEdges: (newEdges: FlowEdgeItem[]) => void;
};
export declare function provideFlowData(initialNodes: any, initialEdges: any): FlowContext;
export declare function useFlowData(): FlowContext;
export {};
