import type { PieArcDatum } from "@visx/shape/lib/shapes/Pie";
import type { NumberFormatOptions } from "@metabase/embedding-sdk-react/dist/frontend/src/metabase/static-viz/lib/numbers";
import type { GaugeLabelData, GaugeSegment, Position, TextAnchor } from "./types";
export declare function populateDefaultColumnSettings(columnSettings?: NumberFormatOptions): NumberFormatOptions;
export declare function limit(value: number, min: number, max: number): number;
export declare function calculateRelativeValueAngle(value: number, minValue: number, maxValue: number): number;
export declare function getCirclePositionInSvgCoordinate(radius: number, angleRadian: number): Position;
export declare function calculateValueFontSize(displayValue: string, maxWidth: number): number;
export declare function calculateSegmentLabelPosition(angle: number): Position;
export declare function calculateSegmentLabelTextAnchor(angle: number): TextAnchor;
export declare function calculateChartScale(gaugeLabels: GaugeLabelData[]): number;
export declare function gaugeAccessor(segment: GaugeSegment): number;
export declare function gaugeSorter(thisSegment: GaugeSegment, thatSegment: GaugeSegment): number;
export declare function fixSwappedMinMax(segment: GaugeSegment): GaugeSegment;
export declare function colorGetter(pieArcDatum: PieArcDatum<GaugeSegment>): string;
/**
 * A reducer to remove duplicate elements from a list
 */
export declare function removeDuplicateElements(uniqueList: number[], element: number): number[];
