import type { Position } from 'ag-charts-core';
export declare function preferredLabelCenter(polygons: Position[][], { aspectRatio, precision }: {
    aspectRatio: number;
    precision: number;
}): {
    x: number;
    y: number;
    maxWidth: number;
} | undefined;
export declare function maxWidthOfRectConstrainedByCenterAndAspectRatioToLineSegment(a: Position, b: Position, cx: number, cy: number, aspectRatio: number): number;
export declare function xExtentsOfRectConstrainedByCenterAndHeightToLineSegment(into: {
    minX: number;
    maxX: number;
}, a: Position, b: Position, cx: number, cy: number, height: number): {
    minX: number;
    maxX: number;
};
export declare function maxWidthInPolygonForRectOfHeight(polygons: Position[][], cx: number, cy: number, height: number): {
    x: number;
    width: number;
};
