import { XYPosition } from '@xyflow/react'; import { Types } from '../../types'; import { Dispatch, SetStateAction } from 'react'; export declare function useControlPoints({ sourceX, sourceY, targetX, targetY, data, }: Types.EdgeProps<'relationship'>): { controlPoints: XYPosition[]; setControlPoints: Dispatch>; insertControlPoint: ({ x, y }: XYPosition) => XYPosition[]; };