import { OnDestroy } from "@angular/core"; import { Subject } from "rxjs"; import { IDataSource } from "@nova-ui/bits"; import { IKpiColorRules } from "./types"; import { PizzagnaService } from "../../pizzagna/services/pizzagna.service"; import { KpiColorComparatorsRegistryService } from "../../services/kpi-color-comparators-registry.service"; import { IComparatorsDict, IConfigurable } from "../../types"; import * as i0 from "@angular/core"; export declare class KpiColorPrioritizer implements IConfigurable, OnDestroy { dataSource: IDataSource; protected pizzagnaService: PizzagnaService; protected readonly destroy$: Subject; protected componentId: string; protected propertyPath: string; protected rules: IKpiColorRules[] | undefined; protected comparators: IComparatorsDict; private dsSubscription$; private latestValueFromDS; constructor(dataSource: IDataSource, pizzagnaService: PizzagnaService, comparatorsRegistry: KpiColorComparatorsRegistryService); ngOnDestroy(): void; updateConfiguration(properties: any): void; setComponent(component: any, componentId: string): void; private subscribeToDataChanges; private checkColorConditions; /** * Sets the color to pizzagna * * @param color - Color to set */ private setColor; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵprov: i0.ɵɵInjectableDeclaration; }