import { ReactElement } from 'react'; import { MotionValue } from 'motion/react'; /** One stop of a segmented axis gradient, low values first. */ export interface AxisGradientStop { color: string; opacity?: number; } /** * A segmented axis: rounded segments between ticks instead of one continuous line, with a gap at * each tick. With a gradient, one scale runs the length of the axis, low values first, so the * axis reads as a range; the segment under the pointer lights up. */ export declare function AxisSegments({ stops, cross, vertical, gradient, cursor, active, opacity, }: { /** Pixel positions that bound the segments, in any order. */ stops: readonly number[]; /** Where the segments sit across the axis: x for a vertical axis, y for a horizontal one. */ cross: number; vertical: boolean; gradient: readonly AxisGradientStop[] | null; cursor: MotionValue; active: MotionValue; opacity?: number; }): ReactElement | null;