import { type Position } from '../xyflow/react.ts';
export interface EdgePathParams {
    sourceNodeId: string;
    sourceHandleId: string | null | undefined;
    sourceX: number;
    sourceY: number;
    sourcePosition: Position;
    targetNodeId: string;
    targetHandleId: string | null | undefined;
    targetX: number;
    targetY: number;
    targetPosition: Position;
}
export interface EdgePathState {
    edgePath: string;
    labelX: number;
    labelY: number;
    isLoopEdge: boolean;
}
export declare function useEdgePath({ sourceNodeId, sourceHandleId, sourceX, sourceY, sourcePosition, targetNodeId, targetHandleId, targetX, targetY, targetPosition, }: EdgePathParams): EdgePathState;
//# sourceMappingURL=useEdgePath.d.ts.map