import prometheusBundle from 'express-prom-bundle'; export declare const DEFAULT_LIVENESS_CHECK_ENDPOINT = "healthz"; export declare const DEFAULT_READINESS_CHECK_ENDPOINT = "readyz"; export declare const DEFAULT_METRICS_ENDPOINT = "metrics"; export interface IMetricsMiddlewareOptions { metricsEndpoint: string; autoregister: boolean; includeMethod: boolean; includePath: boolean; includeStatusCode: boolean; pushgatewayJobName: string; pushgatewayTimeout: number; pushgatewayUrl: string; } interface IMetricsMiddleware { middleware: prometheusBundle.Middleware; promClient: any; } /** * Returns an object with middleware as well as promclient */ export declare const metricsMiddleware: ({ metricsEndpoint, }?: Partial) => IMetricsMiddleware; export {};