import { type IncomingMessage, type ServerResponse } from 'http';
type NextFunction = (error?: any) => void;
interface Trace {
    version?: string;
    id?: string;
    parentSpan?: string;
    flags?: string;
    span?: string;
}
export declare function parseTraceContext(req: IncomingMessage): Trace;
export declare const sessionTracking: () => (req: any, _res: ServerResponse, next: NextFunction) => any;
export declare const ifNoneExistsHeaderTransform: () => (req: IncomingMessage, _res: ServerResponse, next: NextFunction) => any;
export {};
//# sourceMappingURL=middleware.d.ts.map