import { ChartOptions } from '.'; export declare type ColorAxisDataClassesOptions = { /** * The start of the value range that the data class represents, relating to the point value. */ from?: number; /** * The end of the value range that the data class represents, relating to the point value. */ to?: number; /** * The color of each data class. If not set, the color is pulled from the global or chart-specific colors array. */ color?: string; }; export declare type ColorAxisOptions = { /** * 用于给地图设置颜色。 * * 如果不设置,则自动取蓝色系 1 - 10 之间的颜色 */ dataClasses?: ColorAxisDataClassesOptions[]; /** * The minimum value of the axis in term of map point values. */ min?: number; /** * The maximum value of the axis in terms of map point values. */ max?: number; /** * The name of the data class as it * appears in the legend. If no name is given, it is automatically created * based on the `from` and `to` values. */ name?: string; /** * Color stops for the gradient of a * scalar color axis. Use this in cases where a linear gradient between a * `minColor` and `maxColor` is not sufficient. The stops is an array of * tuples, where the first item is a float between 0 and 1 assigning the * relative position in the gradient, and the second item is the color. */ stops?: Array<[number, string]>; }; export declare function createHighColorAxisOptions(options: ColorAxisOptions | undefined, chartOptions: ChartOptions): Highcharts.ColorAxisOptions;