import { AxisLabelsOptions, AxisTypeValue } from './common'; export declare type XAxisOptionsDateTimeLabelFormats = { millisecond: string; second: string; minute: string; hour: string; day: string; week: string; month: string; year: string; }; export declare type XAxisCrosshairOptions = { width?: number; }; export declare type XAxisLabelsOptions = AxisLabelsOptions & {}; export declare type XAxisOptions = { /** * If categories are present for the xAxis, names are used instead of numbers for that axis. * @example ['Apples', 'Bananas', 'Oranges'] */ categories?: string[]; /** * The type of axis. Can be one of linear, logarithmic, datetime. * In a datetime axis, the numbers are given in milliseconds, * and tick marks are placed on appropriate values like full hours or days. * * Defaults to linear. */ type?: AxisTypeValue; /** * For a datetime axis, the scale will automatically adjust to the appropriate unit. * This member gives the default string representations used for each unit. * For intermediate values, different units may be used, * for example the day unit can be used on midnight and hour unit be used for intermediate values on the same axis. */ dateTimeLabelFormats?: XAxisOptionsDateTimeLabelFormats; /** * The axis labels show the number * or category for each tick. */ labels?: XAxisLabelsOptions; /** * Configure a crosshair that follows either the mouse pointer * or the hovered point. */ crosshair?: boolean | XAxisCrosshairOptions; }; export declare const defaultXAxisOptions: Highcharts.XAxisOptions; export declare function createHighXAxisOptions(options?: XAxisOptions): Highcharts.XAxisOptions;