import type { TruncationMode } from '../../../typography/text-ellipsis/TextEllipsis.js'; import { XYChartAnnotationsConfigProps } from '../context/XYChartAnnotationsConfig.context.js'; import { XYChartCustomTooltipConfig } from '../context/XYChartCustomTooltip.context.js'; import { type ExportableXYChartProps, type XYChartInternals, type XYChartSlots } from '../types/xy-chart-internals.js'; import type { XYChartAxisProps, XYChartConfigProperties, XYChartSelectConfig } from '../types/xy-chart-props.js'; import { type XYChartColorPalette } from '../types/xy-chart.js'; export declare function getTruncationModeConfiguration(contextTruncationMode?: TruncationMode, propsTruncationMode?: TruncationMode): TruncationMode; export declare function getXYChartAnnotationsConfiguration(slotsAnnotations?: XYChartAnnotationsConfigProps, configAnnotations?: XYChartAnnotationsConfigProps): XYChartAnnotationsConfigProps | undefined; /** * Creates a XY chart configuration merging the configuration * provided in the context config, slots, and defaults. * @param slots - xy chart slots * @param contextConfig - config pass in config context * @param rootProps - Config props passed in root component level */ export type XYChartConfig = Omit, 'annotations' | 'select' | 'colorPalette' | 'tooltip'> & { annotations?: XYChartAnnotationsConfigProps; select?: XYChartSelectConfig; colorPalette?: XYChartColorPalette; tooltip: XYChartCustomTooltipConfig; }; export declare const createXYChartConfiguration: (slots: XYChartSlots, contextConfig: XYChartConfigProperties, rootProps: ExportableXYChartProps) => XYChartConfig; export declare function getAxes(slotAxes: T[], contextAxes: T[] | undefined): T[]; export declare const deserializeConfig: (serializedConfig: string) => XYChartConfigProperties; type InternalConfig = { xAxes: XYChartSlots['xAxes']; yAxes: XYChartSlots['yAxes']; thresholdIndicators: XYChartSlots['thresholds']; }; type InternalSlots = { series: XYChartSlots['series']; }; type BuildInternalConfig = (config: InternalConfig, slots: InternalSlots) => XYChartInternals; export declare const buildInternalConfig: BuildInternalConfig; export {};