import type { CartesianChartColumns } from "../../../visualizations/lib/graph/columns";
import type { Series } from "../../../visualizations/shared/components/RowChart/types";
import type { GroupedDataset, GroupedDatum, SeriesInfo } from "../../../visualizations/shared/types/data";
import type { ColumnFormatter } from "../../../visualizations/shared/types/format";
import type { ComputedVisualizationSettings } from "../../../visualizations/types";
import type { DatasetData, RowValues, SeriesOrderSetting } from "../../../../metabase-types/api";
export declare const getGroupedDataset: (rows: RowValues[], chartColumns: CartesianChartColumns, settings: ComputedVisualizationSettings, columnFormatter: ColumnFormatter) => GroupedDataset;
export declare const trimData: (dataset: GroupedDataset, valuesCountLimit: number) => GroupedDataset;
export declare const getSeries: (data: DatasetData, chartColumns: CartesianChartColumns, columnFormatter: ColumnFormatter) => Series<GroupedDatum, SeriesInfo>[];
export declare const getOrderedSeries: (series: Series<GroupedDatum, SeriesInfo>[], seriesOrder?: SeriesOrderSetting[]) => Series<GroupedDatum, SeriesInfo>[];
export declare const sanatizeResultData: (data: DatasetData) => {
    cols: import("../../..-types/api").DatasetColumn[];
    rows: RowValues[];
    insights?: import("../../..-types/api/insight").Insight[] | null | undefined;
    results_metadata: import("../../..-types/api").ResultsMetadata;
    rows_truncated: number;
    requested_timezone?: string | undefined;
    results_timezone?: string | undefined;
    download_perms?: import("../../..-types/api").DownloadPermission | undefined;
    native_form: {
        query: string;
    };
};
