import type { AnyScale } from '../../../types/scales.js'; import { TickLabelProps } from '../../../types/text-props.js'; import { TickPrimitiveValue } from '../../../types/tick-value.js'; import { Orientation, TickLabelLayout } from '../types.js'; export declare const ELLIPSIS_BUFFER = 2; export declare function getYAxisTickLabelProps(position: 'left' | 'right', isCategoricalAxis: boolean, scale: AnyScale | undefined): TickLabelProps; export declare const getTickLabelPropsForCategoryAxis: (orientation: Orientation, tickLabelLayout?: TickLabelLayout) => TickLabelProps; export declare const bottomTickLabelDateProps: TickLabelProps; export declare const bottomPanTickLabelDateProps: TickLabelProps; export declare const getTickLabelPropsForValueAxis: (orientation: Orientation, tickLabelLayout?: TickLabelLayout) => TickLabelProps; /** * Selects the correct tick label props for a horizontal (top/bottom) axis. * * Priority: * 1. Categorical axis → category-specific props (accounts for rotation). * 2. Continuous, non-rotated, scale available → domain-aware alignment so * boundary ticks are anchored to the chart edge instead of center-aligned. * 3. Fallback → standard value-axis props. */ export declare function getXAxisTickLabelProps(position: 'bottom' | 'top', isCategoricalAxis: boolean, isTickRotated: boolean, scale: AnyScale | undefined, tickLabelLayout?: TickLabelLayout): TickLabelProps; /** * Gets the corresponding props for a tick label. * Takes index and whether the tick is placed at data-min/data-max into consideration. * * @param min - data-min * @param max - data-max * @returns props for the tick label */ export declare const getTickLabelPropsForGanttAxis: (min?: number, max?: number) => TickLabelProps;