type TraceContext = { traceId: string; spanId: string; }; declare const traceContextStorage: import("node:async_hooks").AsyncLocalStorage; declare function runWithTraceContext(context: TraceContext, callback: () => T | Promise): T | Promise; declare function currentTraceId(): string | null; export type { TraceContext }; export { currentTraceId, runWithTraceContext, traceContextStorage };