interface AsyncContext { get(): T | undefined; run(value: T, fn: () => R | Promise): Promise; } interface NodeAsyncLocalStorage { getStore(): T | undefined; run(store: T, callback: () => R): R; } interface AsyncLocalStorageConstructor { new (): NodeAsyncLocalStorage; } export declare function setupAsyncLocalStorage(AsyncLocalStorage: AsyncLocalStorageConstructor | null): void; export declare function createAsyncContext(): AsyncContext; export {}; //# sourceMappingURL=asyncContext.d.ts.map