export type PrometheusMetricType = 'counter' | 'gauge';
export interface PrometheusMetric {
    name: string;
    help: string;
    type: PrometheusMetricType;
    /** Each sample row in this metric. Labels are optional and rendered as `{key="value",...}`. */
    samples: Array<{
        value: number;
        labels?: Record<string, string>;
    }>;
}
/**
 * Render a list of metrics into Prometheus exposition format. Invalid
 * metric names are skipped silently; invalid labels are dropped.
 */
export declare function formatPrometheusMetrics(metrics: PrometheusMetric[]): string;
//# sourceMappingURL=prometheus.d.ts.map