import type { AxisScale, SharedAxisProps } from './types.js'; /** * AxisPrimitive accepts SharedAxisProps for backward compatibility, plus extra * props that Axis.tsx passes through from AxisProps (role, aria-label). * Dead-code props (tickLength, hideTicks, hideAxisLine, etc.) are accepted * but ignored. This allows Axis.tsx to spread restProps without filtering. * The dead props will be cleaned up in APPDEV-17081. */ type AxisPrimitiveProps = SharedAxisProps & { /** Passed through from Axis.tsx; applied to outer , not consumed here. */ role?: string; /** Passed through from Axis.tsx; applied to outer , not consumed here. */ 'aria-label'?: string; }; /** * Local replacement for `@visx/axis` Axis rendering component. * * Flattens visx's 3-layer architecture (Axis.js -> AxisRenderer.js -> Ticks.js) * into a single component. This simplification is possible because Strato always * hardcodes tickLength=0, hideTicks=true, hideAxisLine=true -- meaning tick lines, * axis lines, and related props are dead code. * * The component: * 1. Computes tick positions (using getTicks + getTickPosition + coerceNumber + createHorizontalPoint/createVerticalPoint) * 2. Calls tickComponent for each tick with the same contract as visx * 3. Renders the axis label using getLabelTransform math + plain SVG text element * * @internal */ export declare function AxisPrimitive({ scale, orientation, tickComponent, tickLabelProps, tickFormat, numTicks, tickValues, hideZero, label, labelClassName, labelOffset, labelProps, left, top: topOffset, axisClassName, innerRef, }: AxisPrimitiveProps): import("react/jsx-runtime").JSX.Element; export {};