import type { SmartScalarComparison, VisualizationSettings } from "../../../../metabase-types/api";
import type { DatasetColumn, RawSeries } from "../../../../metabase-types/api/dataset";
import type { ComparisonMenuOption } from "./types";
export declare const isPeriodVisible: (height: number) => boolean;
export declare const formatChangeAutoPrecision: (change: number, { fontFamily, fontWeight, width, }: {
    fontFamily: string;
    fontWeight: number;
    width: number;
}) => string;
export declare const formatChange: (change: number, { maximumFractionDigits }?: {
    maximumFractionDigits?: number | undefined;
}) => string;
export declare const getValueWidth: (width: number) => number;
export declare const getValueHeight: (height: number) => number;
export declare const getChangeWidth: (width: number) => number;
export declare const COMPARISON_SELECTOR_OPTIONS: {
    readonly ANOTHER_COLUMN: {
        readonly type: "anotherColumn";
        readonly name: string;
    };
    readonly PREVIOUS_PERIOD: {
        readonly type: "previousPeriod";
    };
    readonly PERIODS_AGO: {
        readonly type: "periodsAgo";
    };
    readonly PREVIOUS_VALUE: {
        readonly type: "previousValue";
        readonly name: string;
    };
    readonly STATIC_NUMBER: {
        readonly type: "staticNumber";
        readonly name: string;
    };
};
export declare function getDefaultComparison(series: RawSeries, settings: VisualizationSettings): SmartScalarComparison[];
export declare function isSuitableScalarColumn(column: DatasetColumn): boolean;
export declare function getColumnsForComparison(columns: DatasetColumn[], settings: VisualizationSettings): DatasetColumn[];
export declare function getComparisonOptions(series: RawSeries, settings: VisualizationSettings): ComparisonMenuOption[];
export declare function isComparisonValid(comparison: SmartScalarComparison, series: RawSeries, settings: VisualizationSettings): boolean;
export declare function validateComparisons(series: RawSeries, settings: VisualizationSettings): boolean;
export declare function getComparisons(series: RawSeries, settings: VisualizationSettings): SmartScalarComparison[];
