/** * Vault API Validation Schemas */ import { z } from "zod"; /** * Ethereum address validation */ export declare const AddressSchema: z.ZodString; /** * Positive BigInt validation * * Accepts either: * - A positive integer string (e.g., "1000000000000000000" for 1 token with 18 decimals) * - A positive bigint value (e.g., 1000000000000000000n) * * This flexibility allows validation of: * - User input (strings from forms) * - Parsed amounts (bigint from parseUnits()) * * @example * ```typescript * // String input (from user) * validate(PositiveBigIntStringSchema, "1000000"); * * // BigInt input (from parseUnits) * import { parseUnits } from 'viem'; * const amount = parseUnits("1.0", 18); // 1000000000000000000n * validate(PositiveBigIntStringSchema, amount); * ``` */ export declare const PositiveBigIntStringSchema: z.ZodUnion; /** * Approve Token validation schema */ export declare const ApproveTokenSchema: z.ZodObject<{ assetId: z.ZodUUID; amount: z.ZodUnion; autoWait: z.ZodOptional; }, z.core.$strip>; /** * Deposit validation schema */ export declare const DepositSchema: z.ZodObject<{ assetId: z.ZodUUID; amount: z.ZodUnion; autoWait: z.ZodOptional; }, z.core.$strip>; /** * Withdraw validation schema */ export declare const WithdrawSchema: z.ZodObject<{ assetId: z.ZodUUID; amount: z.ZodUnion; autoWait: z.ZodOptional; }, z.core.$strip>; /** * Get Balance validation schema */ export declare const GetBalanceSchema: z.ZodObject<{ assetId: z.ZodUUID; }, z.core.$strip>;