import { Chart, View } from '@antv/g2'; import { ChartConfig, ChartOptions, Legends, Shape } from '../interfaces'; import { BaseChart } from '../core/framework'; import { LooseObject } from '@antv/g-base'; import { Datum } from '@antv/g2/lib/interface'; import '../utils/tools/shapes/lineSplitLine'; export declare class LineBase extends BaseChart { finalView: View | undefined; getDataByColor: (color: string, xField: string, yField: string, data: LooseObject[]) => [number, LooseObject]; setMax: (yField: string, maxValue: number, config: ChartConfig) => void; contrastView: (chart: Chart, options: ChartOptions, config: ChartConfig, viewOptions?: LooseObject) => View; getFirstRange: (current: number, max: number) => number; getSecondRange: (current: number, max: number) => number; contrastViewQueue: (dataMapping: LooseObject, legends: Legends) => (contrastView: (data: LooseObject[], count: number) => void, finalView: (data: LooseObject[], count: number) => void) => void; lineShape: (chart: Chart | View, options: ChartOptions, shapeConfig: Shape) => import("@antv/g2/lib/geometry/line").default; update: (data: Datum[]) => void; } export declare class Line extends LineBase { render: (options: ChartOptions, config?: ChartConfig) => void; } export declare class ContrastLine extends LineBase { render: (options: ChartOptions, config?: ChartConfig) => {} | undefined; }