import prom from 'prom-client'; import { Connection } from '@contember/database'; declare const labelNames: string[]; type LabelNames = typeof labelNames[number]; type Labels = { [K in LabelNames]: string; }; type DatabaseMetricsEntry = { connection: Connection.PoolStatusProvider & Connection.Queryable; labels: Labels; }; type Unregistrar = () => void; type DatabaseMetricsRegistrar = (entry: DatabaseMetricsEntry) => Unregistrar; export declare const createDbMetricsRegistrar: (registry: prom.Registry) => DatabaseMetricsRegistrar; export {}; //# sourceMappingURL=dbMetrics.d.ts.map