import { GetSmoothStepPathParams, Position, XYPosition } from '@xyflow/react';

export declare function getPoints({ center, isTree, offset, source, sourcePosition, target, targetPosition, }: {
    center: Partial<XYPosition>;
    isTree?: boolean;
    offset: number;
    source: XYPosition;
    sourcePosition: Position;
    target: XYPosition;
    targetPosition: Position;
}): [XYPosition[], number, number, number, number, string];
/**
 * Get a smooth step path from source to target handle
 * @param params.sourceX - The x position of the source handle
 * @param params.sourceY - The y position of the source handle
 * @param params.sourcePosition - The position of the source handle (default: Position.Bottom)
 * @param params.targetX - The x position of the target handle
 * @param params.targetY - The y position of the target handle
 * @param params.targetPosition - The position of the target handle (default: Position.Top)
 * @returns A path string you can use in an SVG, the labelX and labelY position (center of path) and offsetX, offsetY between source handle and label
 * @example
 *  const source = { x: 0, y: 20 };
    const target = { x: 150, y: 100 };

    const [path, labelX, labelY, offsetX, offsetY, labelOrientation] = getSmoothStepPath({
      sourceX: source.x,
      sourceY: source.y,
      sourcePosition: Position.Right,
      targetX: target.x,
      targetY: target.y,
      targetPosition: Position.Left,
    });
 */
export declare function getSmoothStepPath({ borderRadius, centerX, centerY, isTree, offset, sourcePosition, sourceX, sourceY, targetPosition, targetX, targetY, }: GetSmoothStepPathParams & {
    isTree?: boolean;
}): [
    path: string,
    labelX: number,
    labelY: number,
    offsetX: number,
    offsetY: number,
    labelOrientation: string,
    points: XYPosition[]
];
