import { ChangeDetectorRef, OnInit } from '@angular/core';
import { Observable } from 'rxjs';
import { ChartDataItem } from '../../../view-chart/types';
import { ContextChartService } from '../../chart.service';
import { Orientation } from '../../types';
export declare class BarPathComponent implements OnInit {
    readonly context: ContextChartService;
    private readonly cdr;
    stroke: string;
    data: Array<ChartDataItem<{
        x: string;
        y: number;
        color?: string;
    }>>;
    data$: Observable<Array<ChartDataItem<{
        x: string;
        y: number;
        color?: string;
    }>>>;
    barPadding: number;
    groupName: string;
    type: 'standard' | 'stacked';
    bandWidth: number;
    adaptiveBandWidth: boolean;
    path: string;
    orientation: typeof Orientation;
    preValue: number;
    barData: ChartDataItem[];
    activateLegend: string;
    get isStacked(): boolean;
    barData$: Observable<{
        color: string;
        x: (string | number | Date) & string;
        y: number;
    }[]>;
    get innerBandWidth(): number;
    constructor(context: ContextChartService, cdr: ChangeDetectorRef);
    getRectX: (x: string | number | Date) => number;
    ngOnInit(): void;
    getRectY: (index: number, y: number) => number;
    getStackedRectY: (index: number) => number;
    handleVisibility: (name: string) => "" | "hidden";
    handleOpacity: (name: string | number | Date, activateLegend: string) => 1 | 0.2;
}
