import { StructuredTool, ToolInterface } from "@langchain/core/tools";

//#region src/experimental/autogpt/schema.d.ts
/**
 * Type alias for StructuredTool. It is part of the tools module in
 * LangChain, which includes a variety of tools used for different
 * purposes.
 */
type ObjectTool = StructuredTool | ToolInterface;
/**
 * Interface that describes an action that can be performed by the AutoGPT
 * model in LangChain. It has a `name` property, which is a string that
 * represents the name of the action, and an `args` property, which is an
 * object that contains the arguments for the action.
 */
interface AutoGPTAction {
  name: string;
  args: Record<string, any>;
}
//#endregion
export { AutoGPTAction, ObjectTool };
//# sourceMappingURL=schema.d.cts.map