import { Attribute, Data, DataSource, Measure } from '@sisense/sdk-data';
import { ChartDataOptionsInternal } from '../../../../../domains/visualizations/core/chart-data-options/types.js';
import { DataColumnNamesMapping } from '../../../../../domains/visualizations/core/chart-data-options/validate-data-options/index.js';
import { ChartData } from '../../../../../domains/visualizations/core/chart-data/types.js';
import { ChartType } from '../../../../../types';
type UseChartDataPreparationProps = {
    dataSet: DataSource | Data | undefined;
    data: Data;
    chartDataOptions: ChartDataOptionsInternal;
    chartType: ChartType;
    /** Indicates if the chart is a forecast or trend chart for temporal routing between legacy and restructured charts processing */
    isForecastOrTrendChart: boolean;
    attributes: Attribute[];
    measures: Measure[];
    dataColumnNamesMapping: DataColumnNamesMapping;
    onDataReady?: (data: Data) => Data;
};
export declare function useChartDataPreparation({ dataSet, data, chartDataOptions, chartType, isForecastOrTrendChart, attributes, measures, dataColumnNamesMapping, onDataReady, }: UseChartDataPreparationProps): ChartData | null;
export {};
