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