import { FieldDisplay } from '@grafana/data';
export declare function getValueAngleForValue(fieldDisplay: FieldDisplay, startAngle: number, endAngle: number): {
    angleRange: number;
    angle: number;
};
/**
 * Returns the angle in radians for a given angle in degrees
 * But shifted -90 degrees to make 0 degree angle point upwards
 * @param angle
 * @returns
 */
export declare function toRad(angle: number): number;
export interface GaugeDimensions {
    margin: number;
    radius: number;
    centerX: number;
    centerY: number;
    barWidth: number;
    endAngle?: number;
    barIndex: number;
    thresholdsBarRadius: number;
    thresholdsBarWidth: number;
    thresholdsBarSpacing: number;
    showScaleLabels?: boolean;
    scaleLabelsFontSize: number;
    scaleLabelsSpacing: number;
    scaleLabelsRadius: number;
    gaugeBottomY: number;
}
export declare function calculateDimensions(width: number, height: number, endAngle: number, glow: boolean, roundedBars: boolean, barWidthFactor: number, barIndex: number, thresholdBar?: boolean, showScaleLabels?: boolean): GaugeDimensions;
export declare function toCartesian(centerX: number, centerY: number, radius: number, angleInDegrees: number): {
    x: number;
    y: number;
};
