import { DynamicStructuredTool } from '@langchain/core/tools'; import type { IDataObject, INode, INodeType } from '@tosspayments/n8n-workflow'; import { z } from 'zod'; export type CreateNodeAsToolOptions = { node: INode; nodeType: INodeType; handleToolInvocation: (toolArgs: IDataObject) => Promise; }; export declare function createNodeAsTool(options: CreateNodeAsToolOptions): { response: DynamicStructuredTool, { [x: string]: any; }, { [x: string]: any; }, unknown>; };