import { Edge } from '@vue-flow/core';

export declare const flowPropsKey: unique symbol;
type FlowPropsContext = {
    nodeTypes: any[];
    mode: string;
    /** 自定义label不触发双击事件，所以自己传一个事件调用emit */
    handleEdgeDblClick: (edge: Edge) => void;
    /** 自定义节点默认数据 */
    getNodeDefaultData?: (node: any) => Record<string, any>;
    /** 自定义边默认数据 */
    getEdgeDefaultData?: (edge: any) => Record<string, any>;
};
export declare function provideFlowProps(params: any): FlowPropsContext;
export declare function useFlowProps(): FlowPropsContext;
export {};
