import { color, record, xy } from '@synnaxlabs/x';
import { ConnectionLineComponentProps } from '@xyflow/react';
import { ReactElement } from 'react';
import { connector } from './connector';
import { EdgeType } from './paths';
import { Diagram } from '../../vis/diagram';
export interface EdgeData extends record.Unknown {
    segments: connector.Segment[];
    variant?: EdgeType;
    color?: color.Crude;
}
export declare const ConnectionLine: ({ fromX, fromY, toX, toY, fromPosition, toPosition, fromNode, connectionLineStyle, connectionStatus, }: ConnectionLineComponentProps) => ReactElement;
export declare const Edge: ({ id, source, target, sourcePosition: sourceOrientation, targetHandleId, targetPosition: targetOrientation, style, data, selected, onDataChange, ...rest }: Diagram.EdgeProps<EdgeData>) => ReactElement;
export declare const calcMidPoints: (points: xy.XY[]) => xy.XY[];
//# sourceMappingURL=Edge.d.ts.map