import { ChangeDetectorRef, ElementRef, EventEmitter, OnDestroy, OnInit } from '@angular/core';
import { CurveFactory, CurveFactoryLineOnly } from 'd3';
import { Subject } from 'rxjs';
import { ChartData, ChartDataItem } from '../../../view-chart/types';
import { ContextChartService } from '../../chart.service';
import { SeriesData } from '../../types';
interface LineData extends ChartData {
    width: 3;
    path: string;
    visibility: string;
}
export declare class RangeAreaComponent implements OnInit, OnDestroy {
    readonly context: ContextChartService;
    private readonly cdr;
    rectEl: ElementRef;
    curveType: CurveFactory | CurveFactoryLineOnly;
    mouseMoveEvent: EventEmitter<{
        e: MouseEvent;
        rectDom?: HTMLElement;
    }>;
    mouseLeaveEvent: EventEmitter<MouseEvent>;
    mouseDownEvent: EventEmitter<MouseEvent>;
    mouseUpEvent: EventEmitter<MouseEvent>;
    destroy$$: Subject<void>;
    view: {
        width: number;
        height: number;
    };
    constructor(context: ContextChartService, cdr: ChangeDetectorRef);
    lineData: LineData[];
    ngOnInit(): void;
    mouseDown(e: MouseEvent): void;
    mouseUp(e: MouseEvent): void;
    mouseMove(e: MouseEvent, rectDom?: HTMLElement): void;
    mouseLeave(e: MouseEvent): void;
    lineOnMouseMove(line: SeriesData): void;
    lineOnMouseLeave(e: MouseEvent): void;
    allowLeave(e: MouseEvent): boolean;
    getLineGenerator(): import("d3-shape").Line<ChartDataItem<object>>;
    ngOnDestroy(): void;
}
export {};
