import { z } from 'zod'; import { WalletClient } from './wallets/core.js'; import './wallets/chain.js'; type Tool = { name: string; description: string; parameters: z.ZodSchema; method: (parameters: z.infer) => TResult | Promise; }; type UnwrappedTool = { name: string; description: string; parameters: z.ZodSchema; method: (walletClient: TWalletClient, parameters: z.infer) => string | Promise; }; export type { Tool, UnwrappedTool };