/*! * Copyright (c) Microsoft Corporation and contributors. All rights reserved. * Licensed under the MIT License. */ /// import { AsyncLocalStorage } from "async_hooks"; import type { Request, Response, NextFunction } from "express"; /** * @deprecated Use `getGlobalTelemetryContext().getProperties().correlationId` instead * @internal */ export declare function getCorrelationId(altAsyncLocalStorage?: AsyncLocalStorage): string | undefined; /** * @deprecated Use `getTelemetryContextPropertiesWithHttpInfo().correlationId` instead * @internal */ export declare function getCorrelationIdWithHttpFallback(req: Request, res: Response, altAsyncLocalStorage?: AsyncLocalStorage): string | undefined; /** * @deprecated use `bindTelemetryContext()` instead * @internal */ export declare const bindCorrelationId: (altAsyncLocalStorage?: AsyncLocalStorage, headerName?: string) => (req: Request, res: Response, next: NextFunction) => void; //# sourceMappingURL=asyncLocalStorage.d.ts.map