import { DecimalPipe } from "@angular/common"; import { EventBus, IDataSource, IEvent } from "@nova-ui/bits"; import { DataSourceAdapter } from "./data-source-adapter"; import { IKpiThresholdsConfig } from "../../configurator/components/widgets/kpi/types"; import { PizzagnaService } from "../../pizzagna/services/pizzagna.service"; import { IKpiData } from "../kpi-widget/types"; export interface IKpiDataSourceAdapterConfiguration { thresholds: IKpiThresholdsConfig; } export declare class KpiDataSourceAdapter extends DataSourceAdapter { private numberPipe; private thresholds; constructor(eventBus: EventBus, dataSource: IDataSource, pizzagnaService: PizzagnaService, numberPipe: DecimalPipe); updateConfiguration(properties: IKpiDataSourceAdapterConfiguration): void; protected processOutput(data: IKpiData): IKpiData; setComponent(component: any, componentId: string): void; private getThresholdColor; private getThresholdChecks; private processThresholds; private processNumberFormat; }