/// <reference types="node" />
import { Request, RequestHandler } from 'express';
import { Profiler } from '../profilers';
export declare const collectProfile: <TStartArgs>(profiler: Profiler<TStartArgs>) => Promise<Buffer>;
export declare const collectProfileAfterMs: <TStartArgs>(profiler: Profiler<TStartArgs>, args: TStartArgs, delayMs: number) => Promise<Buffer>;
export declare const profileExpressHandler: (profileKind: string, useCaseHandler: (req: Request) => Promise<Buffer>) => RequestHandler;
