import { OnDestroy } from "@angular/core";
import { EventBus, IEvent } from "@nova-ui/bits";
import { StatusContentFallbackAdapter } from "./status-content-fallback-adapter";
import { IComponentIdPayload, IDataSourceOutputPayload } from "./types";
import { PizzagnaService } from "../../pizzagna/services/pizzagna.service";
import { IConfigurable, IHasComponent, IProperties } from "../../types";
import * as i0 from "@angular/core";
export interface IKpiFallbackAdapterProperties extends IProperties {
    multipleErrorFallbackKey: string;
}
export declare class KpiStatusContentFallbackAdapter extends StatusContentFallbackAdapter implements OnDestroy, IHasComponent, IConfigurable {
    /**
     * Fallback node key to use if multiple tile data sources report different errors
     */
    multipleErrorFallbackKey: string;
    /**
     * Map of kpi tile component id's to their corresponding error
     */
    private errorMap;
    constructor(eventBus: EventBus<IEvent>, pizzagnaService: PizzagnaService);
    updateConfiguration(properties: IKpiFallbackAdapterProperties): void;
    protected handleDataSourceOutput(event: IEvent<any | IDataSourceOutputPayload<any>>): void;
    protected handleDataSourceDestroyed(event: IEvent<IComponentIdPayload>): void;
    private setFallbackKeyProperty;
    private getFallbackKey;
    private updateErrorMap;
    static ɵfac: i0.ɵɵFactoryDeclaration<KpiStatusContentFallbackAdapter, never>;
    static ɵprov: i0.ɵɵInjectableDeclaration<KpiStatusContentFallbackAdapter>;
}
