import type { XYChartThresholdsPropsInternal, XYChartThresholdXStaticPropsInternal } from '../../types/xy-chart-internals.js'; import { XYChartThresholdDynamicProps, XYChartThresholdIndicatorProps, _XYChartThresholdDataXRangeStatic, _XYChartThresholdStaticXProps, _XYChartThresholdXStaticData } from '../../types/xy-chart-props.js'; import { XYChartThresholdData, type XYChartThresholdRangeBase } from '../../types/xy-chart.js'; /** * Type guard to check if a given object is of type DataRangeStatic. * * @param obj - The object to check. * @returns True if the object is a DataRangeStatic, false otherwise. */ export declare const isDataRange: (obj: XYChartThresholdData) => obj is XYChartThresholdRangeBase; /** * Type guard to check if a given X-axis threshold data object is a range (vertical band). * * @param obj - The object to check. * @returns True if the object is an X-axis range, false otherwise. */ export declare const isDataRangeX: (obj: _XYChartThresholdXStaticData) => obj is _XYChartThresholdDataXRangeStatic; export declare const isThresholdDynamic: (obj: XYChartThresholdIndicatorProps) => obj is XYChartThresholdDynamicProps; /** * Type guard for a static threshold bound to the X axis (vertical line or band). * Distinguished from the dynamic path by its non-array `data`. * * @param obj - The threshold props to check. * @returns True if the threshold is an X-axis static threshold, false otherwise. */ export declare const isThresholdXStatic: (obj: XYChartThresholdIndicatorProps | _XYChartThresholdStaticXProps) => obj is _XYChartThresholdStaticXProps; /** * Type guard for the internal representation of an X-axis static threshold. * X-static is the only internal variant with an `xAxisId` but no `yAxisId`. * * @param threshold - The internal threshold to check. * @returns True if the threshold is an internal X-axis static threshold. */ export declare const isThresholdXStaticInternal: (threshold: XYChartThresholdsPropsInternal[number]) => threshold is XYChartThresholdXStaticPropsInternal; //# sourceMappingURL=type-guards.d.ts.map