import type { OptionsType } from "@metabase/embedding-sdk-react/dist/frontend/src/metabase/lib/formatting/types";
import type { ChartDataset, DataKey, DimensionModel, NumericAxisScaleTransforms, SeriesExtents, SeriesModel, StackModel, TimeSeriesXAxisModel, XAxisModel, YAxisModel } from "@metabase/embedding-sdk-react/dist/frontend/src/metabase/visualizations/echarts/cartesian/model/types";
import type { ComputedVisualizationSettings } from "@metabase/embedding-sdk-react/dist/frontend/src/metabase/visualizations/types";
import type { DatasetColumn, RawSeries, StackType } from "@metabase/embedding-sdk-react/dist/frontend/src/metabase-types/api";
import type { ShowWarning } from "../../types";
type AxisSplit = [DataKey[], DataKey[]];
export declare function computeSplit(extents: SeriesExtents, left?: DataKey[], right?: DataKey[]): AxisSplit;
export declare function getYAxisModel(seriesKeys: string[], seriesNames: string[], stackModels: StackModel[], trasnformedDataset: ChartDataset, settings: ComputedVisualizationSettings, columnByDataKey: Record<DataKey, DatasetColumn>, stackType: StackType, formattingOptions?: OptionsType): YAxisModel | null;
export declare function getYAxesModels(seriesModels: SeriesModel[], dataset: ChartDataset, transformedDataset: ChartDataset, settings: ComputedVisualizationSettings, columnByDataKey: Record<DataKey, DatasetColumn>, isAutoSplitSupported: boolean, stackModels: StackModel[], isCompactFormatting: boolean): {
    leftAxisModel: YAxisModel | null;
    rightAxisModel: YAxisModel | null;
};
type GetYAxisFormattingOptions = {
    compactSeriesDataKeys: DataKey[];
    axisSeriesKeysSet: Set<string>;
    settings: ComputedVisualizationSettings;
};
export declare function getYAxisFormattingOptions({ compactSeriesDataKeys, axisSeriesKeysSet, settings, }: GetYAxisFormattingOptions): OptionsType;
export declare function getTimeSeriesXAxisModel(dimensionModel: DimensionModel, rawSeries: RawSeries, dataset: ChartDataset, settings: ComputedVisualizationSettings, label: string | undefined, showWarning?: ShowWarning): TimeSeriesXAxisModel;
export declare const isNumeric: (scale: ComputedVisualizationSettings["graph.x_axis.scale"]) => scale is "linear" | "log" | "pow";
export declare function getXAxisModel(dimensionModel: DimensionModel, rawSeries: RawSeries, dataset: ChartDataset, settings: ComputedVisualizationSettings, showWarning?: ShowWarning): XAxisModel;
export declare function getScaledMinAndMax(settings: ComputedVisualizationSettings, yAxisScaleTransforms: NumericAxisScaleTransforms): {
    customMin: number | null;
    customMax: number | null;
};
export {};
