/** * payments.ts — send_payment tool. * Executes ETH or ERC20 token transfers via the AgentAccountV2 contract. */ import { z } from 'zod'; export declare const SendPaymentSchema: z.ZodObject<{ to: z.ZodString; amount_eth: z.ZodString; token: z.ZodOptional; token_decimals: z.ZodDefault>; memo: z.ZodOptional; }, "strip", z.ZodTypeAny, { to: string; amount_eth: string; token_decimals: number; token?: string | undefined; memo?: string | undefined; }, { to: string; amount_eth: string; token?: string | undefined; token_decimals?: number | undefined; memo?: string | undefined; }>; export type SendPaymentInput = z.infer; export declare const sendPaymentTool: { name: string; description: string; inputSchema: { type: "object"; properties: { to: { type: string; description: string; }; amount_eth: { type: string; description: string; }; token: { type: string; description: string; }; token_decimals: { type: string; description: string; default: number; }; memo: { type: string; description: string; maxLength: number; }; }; required: string[]; }; }; export declare function handleSendPayment(input: SendPaymentInput): Promise<{ content: Array<{ type: 'text'; text: string; }>; isError?: boolean; }>; /** * Parse a human-readable token amount string into base units (bigint). * Handles floating-point precision correctly without using JavaScript floats. * e.g., "1.5" with decimals=6 → 1500000n */ export declare function parseTokenAmount(amount: string, decimals: number): bigint; //# sourceMappingURL=payments.d.ts.map