import { Hooks as BaseHooks } from '@chartisan/chartisan'; import { EChartTitleOption, EChartOption } from 'echarts'; import { CC } from './index'; export declare class Hooks extends BaseHooks { /** * Sets the title of the chart. */ title(text: string | EChartTitleOption): this; /** * Set the axis options for a given chart. If a boolean is given, it determines * if the axis should show or not. */ axis(value?: boolean | { xAxis?: EChartOption.XAxis; yAxis: EChartOption.YAxis; }): this; /** * Determines the legend options of the chart. */ legend(show?: boolean | EChartOption.Legend): this; /** * Set the tooltip options for the chart. */ tooltip(show?: boolean | EChartOption.Tooltip): this; /** * Determine the color of the datasets. */ colors(colors?: string[]): this; /** * Determines the datasets of the chart and their options. */ datasets(types: string | (string | EChartOption.Series)[]): this; }