import type { LabelFormatter } from '@shopify/polaris-viz-core'; import type { ScaleBand, ScaleLinear } from 'd3-scale'; import type { Annotation } from '../../../types'; import type { AnnotationPosition } from '../types'; export interface Props { annotations: Annotation[]; axisLabelWidth: number; dataIndexes: { [key: string]: string; }; drawableWidth: number; labelFormatter: LabelFormatter; onHeightChange: (height: number) => void; xScale: ScaleLinear | ScaleBand; } export declare function useAnnotationPositions({ annotations, axisLabelWidth, dataIndexes, drawableWidth, onHeightChange, xScale, labelFormatter, }: Props): AnnotationPosition[]; //# sourceMappingURL=useAnnotationPositions.d.ts.map