@langchain/core
Version:
Core LangChain.js abstractions and schemas
15 lines • 719 B
text/typescript
import { AsyncLocalStorageInterface } from "./globals.cjs";
export declare class MockAsyncLocalStorage implements AsyncLocalStorageInterface {
getStore(): any;
run<T>(_store: any, callback: () => T): T;
enterWith(_store: any): undefined;
}
declare class AsyncLocalStorageProvider {
getInstance(): AsyncLocalStorageInterface;
getRunnableConfig(): any;
runWithConfig<T>(config: any, callback: () => T, avoidCreatingRootRunTree?: boolean): T;
initializeGlobalInstance(instance: AsyncLocalStorageInterface): void;
}
declare const AsyncLocalStorageProviderSingleton: AsyncLocalStorageProvider;
export { type AsyncLocalStorageInterface, AsyncLocalStorageProviderSingleton };
//# sourceMappingURL=index.d.cts.map