import * as promClient from "prom-client";
import { Request as ExpressRequest, Response as ExpressResponse } from "express";
import { Server, stats } from "realm-object-server";
export declare class MetricsService {
    private readonly registry;
    constructor(registry: promClient.Registry, statsSink?: stats.PrometheusStatsSink);
    start(server: Server): void;
    getMetrics(request: ExpressRequest, res: ExpressResponse): void;
}
