import { Position } from '@xyflow/react';

export default function useEdge({ isLoopEdge, labelItems, labelOffset, offset, sourcePosition, sourceX, sourceY, targetPosition, targetX, targetY, }: {
    id: string;
    isLoopEdge?: boolean;
    labelItems: number;
    labelOffset?: {
        x?: number;
        y?: number;
    };
    offset?: number;
    sourcePosition: Position | undefined;
    sourceX: number;
    sourceY: number;
    targetPosition: Position | undefined;
    targetX: number;
    targetY: number;
}): {
    direction: import("csstype").Property.FlexDirection | undefined;
    edgePath: string;
    isAbsoluteLabel: boolean;
    labelPositions: {
        x: number;
        y: number;
    }[];
    labelTransform: string;
    labelX: number;
    labelY: number;
};
