import { ChangeDetectorRef, OnInit } from "@angular/core";
import { EventBus, IconService, IDataSource, IEvent } from "@nova-ui/bits";
import { IAccessors, IChartAssistSeries, Renderer, SparkChartAssist, StatusAccessors } from "@nova-ui/charts";
import { TimeseriesScalesService } from "../../timeseries-scales.service";
import { ITimeseriesWidgetStatusData, TimeseriesChartTypes, TimeseriesWidgetZoomPlugin } from "../../types";
import { TimeseriesChartComponent } from "../timeseries-chart.component";
import * as i0 from "@angular/core";
export declare class StatusBarChartComponent extends TimeseriesChartComponent<ITimeseriesWidgetStatusData> implements OnInit {
    private iconService;
    timeseriesScalesService: TimeseriesScalesService;
    changeDetector: ChangeDetectorRef;
    protected eventBus: EventBus<IEvent>;
    static lateLoadKey: string;
    chartAssist: SparkChartAssist;
    collectionId: string;
    protected accessors: StatusAccessors;
    protected renderer: Renderer<IAccessors>;
    private chartUpdate$;
    zoomPlugins: TimeseriesWidgetZoomPlugin[];
    timeseriesChartTypes: typeof TimeseriesChartTypes;
    summaryLegendBcgColor: string;
    summaryLegendColor: string;
    constructor(iconService: IconService, dataSource: IDataSource, timeseriesScalesService: TimeseriesScalesService, changeDetector: ChangeDetectorRef, eventBus: EventBus<IEvent>);
    ngOnInit(): void;
    getDataPointData(series: IChartAssistSeries<IAccessors>, key: string): any;
    protected buildChart(): void;
    protected updateChartData(): void;
    /**
     * Transforms standard timeseries x/y data so that it can be understood by a status chart
     *
     * @param data The data to transform
     * @param isIntervalProgression Whether the data should be treated as continuous or occurring at a regular interval
     *
     * @returns The transformed data
     */
    protected transformData(data: ITimeseriesWidgetStatusData[], isIntervalProgression: boolean): IStatusData[];
    private setGridConfigFromConfiguration;
    displayDeleteButton(): boolean;
    isStatusChart(): boolean;
    getDescriptionSecondary(series: IChartAssistSeries<IAccessors>, index: number): string;
    static ɵfac: i0.ɵɵFactoryDeclaration<StatusBarChartComponent, [null, { optional: true; }, null, null, null]>;
    static ɵcmp: i0.ɵɵComponentDeclaration<StatusBarChartComponent, "nui-status-bar-chart", never, {}, {}, never, never, false, never>;
}
interface IStatusData {
    start: Date;
    end: Date;
    thick?: boolean;
    color?: string;
    icon?: string;
}
export {};
