export type ALS = import("node:async_hooks").AsyncLocalStorage; export type ALSPrototype = typeof import("node:async_hooks").AsyncLocalStorage; export interface Context { get(): T | undefined; callAsync: any>(val: T, cb: CB) => Promise>>; } export declare class ALSContext implements Context { ctx: ALS; constructor(ALS: ALSPrototype); get(): T | undefined; callAsync(val: T, cb: () => any): Promise; } export declare class GlobalContext implements Context { value: T | undefined; get(): T | undefined; callAsync(val: T, cb: () => any): Promise; } //# sourceMappingURL=utils.d.ts.map