import { type ThresholdIndicatorData } from '../../../core/components/threshold-bar/indicators/ThresholdIndicator.js'; import { type ThresholdMarker } from '../../../core/components/threshold-bar/ThresholdBar.js'; import type { AxisIdToScales } from '../../context/XYChartScales.context.js'; import type { AxisIdToFormatter, XYChartAxisInternal, XYChartThresholdsPropsInternal } from '../../types/xy-chart-internals.js'; import type { XYChartYAxisPosition } from '../../types/xy-chart.js'; interface ThresholdMarkersReducerConfig { axis: 'left' | 'right'; axisConfig?: XYChartAxisInternal; axesIdToScales: AxisIdToScales; axesIdToFormatter: AxisIdToFormatter; width: number; } /** * Returns a reducer function to accumulate threshold markers with scale and formatted value. */ export declare function markersReducer({ axis, axisConfig, axesIdToScales, axesIdToFormatter, width, }: ThresholdMarkersReducerConfig): (acc: ThresholdMarker[], threshold: XYChartThresholdsPropsInternal[number]) => ThresholdMarker[]; export declare const axesPositionsIncludes: (axisPosition: "left" | "right", axesPositions: { position: XYChartYAxisPosition; }[]) => boolean; type IndicatorData = (args: { axisIdToScales: AxisIdToScales; threshold: XYChartThresholdsPropsInternal[number]; width: number; }) => ThresholdIndicatorData[]; export declare const mapIndicatorDataFrom: IndicatorData; export {};