/**
 * Calculates the x and y position that the edge should be connected to a square node
 * Note that we do not take into account the rounded edges of the square, if required the below can be modified to include it
 *
 * @param centerX center x coordinate of the square node
 * @param centerY center y coordinate of the square node
 * @param rotation goes from -pi to pi inclusive and represents the angle between the x axis going counterclockwise to the edge from the centre of source node
 * @param width of the square node
 */
export declare function calculateSourceBoundPosition(centerX: number, centerY: number, rotation: number, width: number): {
    x: number;
    y: number;
};
/**
 * Calculates the x and y position that the edge should be connected to a square node
 * Note that we do not take into account the rounded edges of the square, if required the below can be modified to include it
 *
 * @param centerX center x coordinate of the square node
 * @param centerY center y coordinate of the square node
 * @param rotation goes from -pi to pi inclusive and represents the angle between the x axis going counterclockwise to the edge from the centre of source node
 * @param width width of the square node
 */
export declare function calculateTargetBoundPosition(centerX: number, centerY: number, rotation: number, width: number): {
    x: number;
    y: number;
};
//# sourceMappingURL=utils.d.ts.map