import type { EventEmitter } from 'events'; import type { Profiler, RequestFilter } from './types'; export declare function instrumentServer(moduleName: string, getProfiler: () => Profiler | null, getRequestFilters: () => RequestFilter[] | null, server: Server): Server; export declare function httpPatch(exports: any, moduleName: string, customProfiler?: Profiler): any;