import { RequestHandler } from 'express'; /** * Opens an AsyncLocalStorage request context for the whole request chain. * Reuses the incoming X-Request-Id when present (so ids can be correlated * across services), otherwise generates one, and echoes it in the response. * Must be registered before anything that logs. */ declare const requestContextMiddleware: () => RequestHandler; /** * Logs one line per completed request (method, path, status, duration) so * the log always records the request boundary, even when no service-level * log was emitted. */ declare const accessLogMiddleware: () => RequestHandler; export { accessLogMiddleware, requestContextMiddleware };