import type { D3OrdinalScale } from "../models/axis.js"; /** * Computes the band region covered by a sampled bucket spanning `data[startIndex..endIndex]`. * * The region is anchored at its left-most slot and spans whole steps, so both the rendered bar * (see `createGetBucketBarDimensions`) and the axis highlight (see `getSampledBandHighlight`) * stay in sync — on a reversed axis `startIndex` maps to the right, hence the `Math.min`. */ export declare function getSampledBucketRegion(scale: D3OrdinalScale, data: readonly any[], startIndex: number, endIndex: number): { regionStart: number; regionSize: number; };