import type { ChartOptions } from "chart.js";
import type { TDefaultChartFormatOptionsType } from "../../Core/Common.types";
import type { TCJSChartType } from "./ChartJSDataTransformer";
/**
 * Converts existing formatOptions into a Chart.js-compatible options object.
 * All colours, fonts, and visibility flags are derived from formatOptions so the
 * CJS charts match the styling configured in the host application's right pane.
 */
export declare function mapFormatOptionsToChartJS(formatOptions: TDefaultChartFormatOptionsType, chartType: TCJSChartType, hasSecondaryAxis?: boolean, addLocalFilterFromLib?: (clickedLegendData: any) => void, legendList?: any[]): ChartOptions;
