export interface MetricDataPoint { name: string; tags: Record; value: number; timestamp: number; type: 'counter' | 'gauge' | 'histogram'; } export declare class MetricsBuffer { private data; private exporter; private flushTimer?; private readonly maxSize; private readonly flushInterval; private isShuttingDown; constructor(endpoint: string, apiKey: string, serviceName: string); start(): void; add(dataPoint: MetricDataPoint): void; private scheduleFlush; private flush; shutdown(): Promise; } //# sourceMappingURL=metrics-buffer.d.ts.map