import { BasePlugin } from '@opentelemetry/core'; import express from 'express'; export declare class AspectoExpressPlugin extends BasePlugin { readonly moduleName: string; static readonly component = "express"; readonly supportedVersions: string[]; _capturedLayerPrototype: any; constructor(moduleName: string); protected patch(): any; protected unpatch(): void; private _patchExpressLayer; private _getLayerPathFromFirstArg; private static _convertErrorToObj; private _getLayerHandleRequestPatch; private _getLayerHandleErrorPatch; /** * Get the patch for Router.route function * @param original */ private _getRouterRoutePatch; /** * Get the patch for Router.use function * @param original */ private _getRouterUsePatch; private _savePath; private _storeLayer; private _restoreLayer; static _getSpanInitialName(req: express.Request): string; static _getSpanNameOnResEnd(req: express.Request): string; private _initLayersStoreOnReq; private _setSpanAttributesFromReq; private _getApplicationInitPatch; } export declare const plugin: AspectoExpressPlugin; //# sourceMappingURL=aspecto-open-telemetry-express.d.ts.map