/// <reference types="hoist-non-react-statics" />
import React from 'react';
import { DataSourceItemObject } from 'antd/es/auto-complete';
import { AutoSelectValue } from '@qn-pandora/pandora-component';
import { ChartType, IBaseLine } from '../../../../constants/chart-style';
interface IBaseLineProps {
    source?: any;
    value: IBaseLine;
    chartType: ChartType;
    onChange: (value: IBaseLine, source: any) => void;
    onDelete: (source: any) => void;
    defaultColor: string[];
    fields: DataSourceItemObject[];
    getPopupContainer?: () => HTMLElement;
}
export declare class BaseLine extends React.Component<IBaseLineProps, any> {
    handleChange(prop: keyof IBaseLine, newValue: any): void;
    handleValueChange(e: AutoSelectValue): void;
    handleDelete(): void;
    render(): React.JSX.Element;
}
declare const _default: React.ComponentClass<IBaseLineProps, any> & import("hoist-non-react-statics").NonReactStatics<(React.ComponentClass<IBaseLineProps, any> & typeof BaseLine) | (React.FunctionComponent<IBaseLineProps> & typeof BaseLine), {}>;
export default _default;
