import type { XYChartAxisInternal, XYChartSlots, XYChartThresholdsInternal } from '../../types/xy-chart-internals.js'; import type { XYChartThresholdDatapoint, XYChartXAxisPosition, XYChartYAxisPosition } from '../../types/xy-chart.js'; type BuildThresholds = (yAxes: { id: XYChartAxisInternal['id']; position: XYChartYAxisPosition; type: XYChartAxisInternal['type']; }[], xAxes: { id: XYChartAxisInternal['id']; reversed?: XYChartAxisInternal['reversed']; position: XYChartXAxisPosition; type: XYChartAxisInternal['type']; }[], thresholdSlots: XYChartSlots['thresholds']) => XYChartThresholdsInternal; /** * Retrieves either the 'yMin' or 'yMax' value from `data` based on `type`, * defaulting to `data.y` if the specific key is missing or 0 in case * of no `data.y`. * * @param data - Object containing potential 'yMin', 'yMax', or 'y' properties. * @param type - Specifies whether to retrieve 'min' (yMin) or 'max' (yMax). * @returns The 'yMin', 'yMax', or 'y' value from the data object. */ export declare const getYValue: (data: XYChartThresholdDatapoint, type: "min" | "max") => import("../../types/xy-chart.js").XYChartThresholdValue; export declare const buildThresholds: BuildThresholds; export {};