import { ComposedMetricMapping, ComposedMetricParams, ComposedMetricType } from '../../../../model'; import { OrchestratorClient } from '../../../../orchestrator'; import { ComposedMetricMappingManager } from '../composed-metric-mapping-manager'; /** * Default implementation of the {@link ComposedMetricMappingManager}, usable on all orchestrators. */ export declare class DefaultComposedMetricMappingManager implements ComposedMetricMappingManager { private client; constructor(client: OrchestratorClient); ensureMappingExists(metricType: ComposedMetricType, params: P): Promise; private fetchMetricMapping; private assembleMappingSpec; private setOwnerLabels; /** * Checks if the `existingMapping` matches the `params` and the `owner` and updates the `existingMapping`, if necessary. * * @returns `true`, if the `existingMapping` was updated and a write on the orchestrator is needed, otherwise `false`. */ private checkAndUpdateMapping; private createMetricMapping; }