import { HttpHandler, type HttpHandlerInput } from '@solid/community-server'; /** * Middleware that manages Request IDs for tracing. * 1. Checks for existing X-Request-ID in request headers. * 2. If missing, generates a new UUID. * 3. Sets the X-Request-ID in the response header. * 4. Stores the ID in AsyncLocalStorage for logging context. */ export declare class RequestIdHttpHandler extends HttpHandler { private readonly source; constructor(source: HttpHandler); canHandle(input: HttpHandlerInput): Promise; handle(input: HttpHandlerInput): Promise; private loggerForRequest; }