import { ChartOptions } from '.'; import { AxisTypeValue, AxisLabelsOptions } from './common'; export declare type YAxisPlotLine = Pick & Pick; export declare type YAxisLabelsOptions = AxisLabelsOptions & {}; export declare type YAxisOptions = { /** * The axis title, showing next to the axis line. */ title?: 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; /** * The minimum value of the axis. If null the min value is automatically calculated. */ min?: number | null; /** * The maximum value of the axis. If null the max value is automatically calculated. */ max?: number | null; /** * 最大保留小数位数,指定后会覆盖 `ChartOptions` 中指定的精度 */ decimals?: number; /** * An array of lines stretching across the plot * area, marking a specific value on one of the axes. */ plotLine?: YAxisPlotLine | YAxisPlotLine[]; /** * The axis labels show the number * or category for each tick. */ labels?: YAxisLabelsOptions; }; export declare function createHighYAxisOptions(options?: YAxisOptions, chartOptions?: ChartOptions, yAxisIndex?: number): Highcharts.YAxisOptions;