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