///
import { IOptions } from '../options';
export declare const collectMetrics: (options: IOptions) => (req: any, res: any, time: any) => void;
export declare function collectMetricsMiddlewares(options: IOptions): {
handler: (request: import("http").IncomingMessage, response: import("http").ServerResponse, callback: (err: any) => void) => any;
errorHandler: (err: any, req: any, res: any, next: any) => void;
};