import type { Context, HrTime, Attributes } from '@opentelemetry/api'; import type { Maybe } from '../utils'; import type { Accumulation, Aggregator } from '../aggregator/types'; import { AttributeHashMap } from './HashMap'; /** * Internal interface. * * Allows synchronous collection of metrics. This processor should allow * allocation of new aggregation cells for metrics and convert cumulative * recording to delta data points. */ export declare class DeltaMetricProcessor> { private _activeCollectionStorage; private _cumulativeMemoStorage; private _cardinalityLimit; private _overflowAttributes; private _overflowHashCode; private _aggregator; constructor(aggregator: Aggregator, aggregationCardinalityLimit?: number); record(value: number, attributes: Attributes, _context: Context, collectionTime: HrTime): void; batchCumulate(measurements: AttributeHashMap, collectionTime: HrTime): void; /** * Returns a collection of delta metrics. Start time is the when first * time event collected. */ collect(): AttributeHashMap; } //# sourceMappingURL=DeltaMetricProcessor.d.ts.map