import { Axis } from 'highcharts'; import { AxisExtremeType, ChartAxisExtremeChangeHandler, ChartAxisExtremeValidator } from './utils'; export type ChartAxisExtremeProps = { value: number; onChange?: ChartAxisExtremeChangeHandler; formatValue?: (value: number) => string | number; axis: Axis; extremeType: AxisExtremeType; /** * Validates possible value on both manual input & drag actions */ validate?: ChartAxisExtremeValidator; /** * Governs "sensitivity" of drag. * A number indicates how many pixels should a user drag to change axis extreme by 1. * A function accepts dragged distance in pixels and returns *how much value should change*. * Generally, positive input should generate positive output. Can be used in conjunction with `validate` prop to force min/max value when dragging */ dragDeltaValue?: number | ((deltaPixels: number) => number); className?: string; testId?: string; }; export declare const ChartAxisExtreme: ({ axis, testId, className, formatValue, value, dragDeltaValue, onChange, extremeType, validate, }: ChartAxisExtremeProps) => import("react/jsx-runtime").JSX.Element | null; //# sourceMappingURL=ChartAxisExtreme.d.ts.map