import type { Position } from 'ag-charts-core';
export declare function lineSegmentDistanceToPointSquared(a: Position, b: Position, x: number, y: number): number;
export declare function lineStringDistance(lineString: Position[], x: number, y: number): number;
export declare function lineStringLength(lineSegment: Position[]): number;
export declare function lineStringCenter(lineSegment: Position[]): {
    point: Position;
    angle: number;
} | undefined;
