import { Counter } from './counter'; import { Gauge } from './gauge'; import { Histogram } from './histogram'; export declare class Registry { private data; constructor(); private validateInput; create(type: 'counter', name: string, help?: string): Counter; create(type: 'gauge', name: string, help?: string): Gauge; create(type: 'histogram', name: string, help?: string, histogramBuckets?: number[]): Histogram; /** * Returns a string in the prometheus' desired format * More info: https://prometheus.io/docs/concepts/data_model/ * Loop through each metric type (counter, histogram, etc); * * @return {string} */ metrics(): string; reset(): this; clear(): this; get(type: 'counter', name: string): Counter | undefined; get(type: 'gauge', name: string): Gauge | undefined; get(type: 'histogram', name: string): Histogram | undefined; }