UNPKG

@langchain/community

Version:
1 lines • 1.21 kB
{"version":3,"file":"index.d.ts","names":["ToolInterface","Toolkit","ConneryService","ConneryToolkit","Promise"],"sources":["../../../../src/agents/toolkits/connery/index.d.ts"],"sourcesContent":["import { ToolInterface } from \"@langchain/core/tools\";\nimport { Toolkit } from \"@langchain/core/indexing\";\nimport { ConneryService } from \"../../../tools/connery.js\";\n/**\n * ConneryToolkit provides access to all the available actions from the Connery Runner.\n * @extends Toolkit\n */\nexport declare class ConneryToolkit extends Toolkit {\n tools: ToolInterface[];\n /**\n * Creates a ConneryToolkit instance based on the provided ConneryService instance.\n * It populates the tools property of the ConneryToolkit instance with the list of\n * available tools from the Connery Runner.\n * @param conneryService The ConneryService instance.\n * @returns A Promise that resolves to a ConneryToolkit instance.\n */\n static createInstance(conneryService: ConneryService): Promise<ConneryToolkit>;\n}\n//# sourceMappingURL=index.d.ts.map"],"mappings":";;;;;;;;AAOA;;AAS0CE,cATrBC,cAAAA,SAAuBF,OAAAA,CASFC;EAAyBC,KAAAA,EARxDH,aAQwDG,EAAAA;EAARC;;AATR;;;;;wCASTF,iBAAiBE,QAAQD"}