/** * Prometheus Metrics Format Protocol Adapter * * Supports full Prometheus exposition format including: * - Metric types (counter, gauge, histogram, summary) * - Labels and label matching * - Comments and metadata * - Remote write protocol * - Metric family grouping */ import type { TimeSeriesPoint } from '../../../types/timeseries'; import type { ProtocolAdapter } from '../interfaces'; export declare class PrometheusProtocolAdapter implements ProtocolAdapter { name: string; version: string; parse(data: string | Uint8Array): Promise; format(points: TimeSeriesPoint[]): Promise; validate(data: string | Uint8Array): Promise; getSchema(): Promise; private parsePrometheusText; private parseComment; private parseMetricSample; private extractBaseName; private inferMetricType; private convertMetricFamilyToPoints; private convertHistogramToPoints; private convertSummaryToPoints; private generateLabelKey; private formatPrometheusText; private formatMetricSample; private escapePrometheusValue; } /** * Remote Write Protocol Support */ export declare class PrometheusRemoteWriteAdapter extends PrometheusProtocolAdapter { name: string; version: string; parseRemoteWrite(data: Uint8Array): Promise; formatRemoteWrite(points: TimeSeriesPoint[]): Promise; validate(data: string | Uint8Array): Promise; } //# sourceMappingURL=prometheus.d.ts.map