import React from "react"; import { EdgeProps } from "reactflow"; export interface CustomEdgeProps extends EdgeProps { data?: { allowAddOnLine?: boolean; [key: string]: any; }; } declare function CustomEdgeComponent({ id, sourceX, sourceY, targetX, targetY, sourcePosition, targetPosition, markerEnd, source, sourceHandleId, target, style, data, }: CustomEdgeProps): React.JSX.Element; declare const CustomEdge: React.MemoExoticComponent; export default CustomEdge;