export interface IHttpContext {
    requestId: string;
    startTime: number;
    route?: string;
    method?: string;
    requestDuration?: number;
    req?: any;
    res?: any;
    [key: string]: any;
}
declare class HttpContext {
    private static instance;
    private constructor();
    static getInstance(): HttpContext;
    getContext(): IHttpContext | null;
    get<T = any>(key: string): T | undefined;
    set<T = any>(key: string, value: T): boolean;
    runWithContext<T>(context: IHttpContext, callback: () => T): T;
    generateRequestId(): string;
}
declare const _default: HttpContext;
export default _default;
