import { AsyncLocalStorage } from "node:async_hooks";
export type DebugContext = {
    namespace: string;
    contextData: Record<string, unknown>;
    traceId: string;
    depth: number;
    sessionId?: string;
};
export declare const debugStorage: AsyncLocalStorage<DebugContext>;
export declare function getContext(): DebugContext | undefined;
export declare function runWithContext<T>(ctx: DebugContext, fn: () => T): T;
//# sourceMappingURL=context.d.ts.map