@langchain/community
Version:
Third-party integrations for LangChain.js
17 lines (15 loc) • 643 B
text/typescript
import { OptionalImportMap } from "./import_type.cjs";
//#region src/load/index.d.ts
/**
* Load a LangChain module from a serialized text representation.
* NOTE: This functionality is currently in beta.
* Loaded classes may change independently of semver.
* @param text Serialized text representation of the module.
* @param secretsMap
* @param optionalImportsMap
* @returns A loaded instance of a LangChain module.
*/
declare function load<T>(text: string, secretsMap?: Record<string, any>, optionalImportsMap?: OptionalImportMap & Record<string, any>): Promise<T>;
//#endregion
export { load };
//# sourceMappingURL=index.d.cts.map