import type { ScaleLinear, ScaleSymLog, ScaleTime } from 'd3-scale'; import type { ChartUnit } from '../../../../core/types/chart-unit.js'; import type { TimeseriesBandDataPoint } from '../../../types/timeseries-band.js'; import type { WeakMapDatapoints, SeriesMetadata } from '../../../types/timeseries.js'; /** * Return boolean related if data-point is gap * * @param dataPoint - The data points * @param datapointsMap - * @returns Whether the accessor is defined */ export declare const definedAccessor: (dataPoint: TimeseriesBandDataPoint, datapointsMap: WeakMapDatapoints) => boolean; /** * Get x-accessor base on xScale * * @param xScale - The x-axis scale * @param datapointsMap - * @returns The band chart x-accessor */ export declare const xAxisAccessor: (xScale: ScaleTime, datapointsMap: WeakMapDatapoints) => (dataPoint: TimeseriesBandDataPoint) => number; /** * Get y0-accessor base on yScale * * @param scale - The y axis scale * @param dataPointsMap - Data points metadata map * @returns The band chart y0-accessor */ export declare const y0AxisAccessor: (scale: ScaleSymLog | ScaleLinear, dataPointsMap: WeakMapDatapoints) => (dataPoint: TimeseriesBandDataPoint) => number; /** * Get y1-accessor base on yScale * * @param scale - The y-axis scale * @param dataPointsMap - Data points metadata map * @returns The band chart y1-accessor */ export declare const y1AxisAccessor: (scale: ScaleSymLog | ScaleLinear, dataPointsMap: WeakMapDatapoints) => (dataPoint: TimeseriesBandDataPoint) => number; /** * Get curry accessor of the y1-accessor * * @returns y1AxisAccessor */ export declare function y1(yScaleByUnit: (unit: ChartUnit) => ScaleSymLog | ScaleLinear, seriesMetadata: SeriesMetadata, datapointsMap: WeakMapDatapoints): (dataPoint: TimeseriesBandDataPoint) => number; /** * Get curry accesor of the y0-accessor * * @returns y0AxisAccessor */ export declare function y0(yScaleByUnit: (unit: ChartUnit) => ScaleSymLog | ScaleLinear, seriesMetadata: SeriesMetadata, datapointsMap: WeakMapDatapoints): (dataPoint: TimeseriesBandDataPoint) => number;