import type { Group } from 'echarts/lib/util/graphic';
import { type default as BaseBarSeriesModel } from 'echarts/lib/chart/bar/BaseBarSeries';
import { type BarSeriesOption } from 'echarts/lib/chart/bar/BarSeries';
import { type default as BarView } from 'echarts/lib/chart/bar/BarView';
import ZrElement from 'zrender/lib/Element';
import { TYPE } from './util';
export type Element<E = ZrElement> = E & {
    /** 元素是否处于活动状态，非活动状态则可以被移除 */
    __dvAlive?: boolean;
};
export { RectLayout } from '../bar/type';
export interface CustomDataItemOption {
    /** 瀑布图数据项的方向指示线 */
    dvDirectionLine?: {
        /** 是否显示，默认 false */
        show?: boolean;
        /** 线的颜色，默认 gray */
        color?: string;
        /** 方向，朝上或者朝下 */
        direction: 'top' | 'bottom';
    };
}
export interface WaterfallSeriesOption extends CustomDataItemOption, BarSeriesOption {
    dvType: typeof TYPE;
    /** 瀑布图的相邻柱子间参考线 */
    dvReferenceLine?: {
        /** 是否显示，默认 false */
        show?: boolean;
        /** 线的颜色，默认 gray */
        color?: string;
    };
}
export type WaterfallSeriesModel = BaseBarSeriesModel<WaterfallSeriesOption>;
export interface WaterfallView extends BarView {
    __dvReferenceLineGroup: Group;
    __dvDirectionLineGroup: Group;
}
