import { HttpHandler, type HttpHandlerInput } from '@solid/community-server'; /** * HTTP Handler that provides request tracing capabilities. * * This handler: * 1. Reads or generates a Request ID (from X-Request-ID header or new UUID) * 2. Sets the X-Request-ID in the response header * 3. Enters the logging context with the request ID * 4. Logs request completion with status code and duration via response 'finish' event * * Designed to be used as the first handler in a SequenceHandler chain. * It sets up the tracing context and returns immediately, allowing * the SequenceHandler to continue to subsequent handlers. */ export declare class TracingHandler extends HttpHandler { protected readonly logger: import("global-logger-factory").Logger; canHandle(_input: HttpHandlerInput): Promise; handle(input: HttpHandlerInput): Promise; }