import { IConfigComponent, IHttpServerComponent, IMetricsComponent } from '@well-known-components/interfaces'; declare const metrics: { http_request_duration_seconds: { type: "histogram"; help: string; labelNames: readonly ["method", "handler", "code"]; }; http_requests_total: { type: "counter"; help: string; labelNames: readonly ["method", "handler", "code"]; }; http_request_size_bytes: { type: "histogram"; help: string; labelNames: readonly ["method", "handler", "code"]; }; }; /** * @public */ export type HttpMetrics = keyof typeof metrics; /** * @public */ export declare function getDefaultHttpMetrics(): IMetricsComponent.MetricsRecordDefinition; /** * @public */ export declare function instrumentHttpServerWithPromClientRegistry(options: { server: IHttpServerComponent>; config: IConfigComponent; metrics: IMetricsComponent; registry: IMetricsComponent.Registry; }): Promise; export {};