import type { CartesianChartColumns } from "@metabase/embedding-sdk-react/dist/frontend/src/metabase/visualizations/lib/graph/columns";
import type { Series } from "@metabase/embedding-sdk-react/dist/frontend/src/metabase/visualizations/shared/components/RowChart/types";
import type { GroupedDataset, GroupedDatum, SeriesInfo } from "@metabase/embedding-sdk-react/dist/frontend/src/metabase/visualizations/shared/types/data";
import type { ColumnFormatter } from "@metabase/embedding-sdk-react/dist/frontend/src/metabase/visualizations/shared/types/format";
import type { ComputedVisualizationSettings } from "@metabase/embedding-sdk-react/dist/frontend/src/metabase/visualizations/types";
import type { DatasetData, RowValues, SeriesOrderSetting } from "@metabase/embedding-sdk-react/dist/frontend/src/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("@metabase/embedding-sdk-react/dist/frontend/src/metabase-types/api").DatasetColumn[];
    rows: RowValues[];
    insights?: import("@metabase/embedding-sdk-react/dist/frontend/src/metabase-types/api/insight").Insight[] | null | undefined;
    results_metadata: import("@metabase/embedding-sdk-react/dist/frontend/src/metabase-types/api").ResultsMetadata;
    rows_truncated: number;
    requested_timezone?: string | undefined;
    results_timezone?: string | undefined;
    download_perms?: import("@metabase/embedding-sdk-react/dist/frontend/src/metabase-types/api").DownloadPermission | undefined;
    native_form: {
        query: string;
    };
};
