import type { ComputedVisualizationSettings } from "@metabase/embedding-sdk-react/dist/frontend/src/metabase/visualizations/types";
import type Question from "@metabase/embedding-sdk-react/dist/frontend/src/metabase-lib/v1/Question";
import type { RawSeries, Series, TransformedSeries, VisualizationSettings } from "@metabase/embedding-sdk-react/dist/frontend/src/metabase-types/api";
export type UseChartSettingsStateProps = {
    settings?: VisualizationSettings;
    series: Series;
    onChange?: (settings: ComputedVisualizationSettings, question?: Question) => void;
};
export type UseChartSettingsStateReturned = {
    chartSettings?: VisualizationSettings;
    handleChangeSettings: (changedSettings: VisualizationSettings, question: Question) => void;
    chartSettingsRawSeries: Series;
    transformedSeries?: RawSeries | TransformedSeries;
};
export declare const useChartSettingsState: ({ settings, series, onChange, }: UseChartSettingsStateProps) => UseChartSettingsStateReturned;
