import * as z from 'zod/mini'; import type * as App from '../../../App.js'; import * as Response from '../../../internal/Response.js'; import * as Valuation from './valuation.js'; /** Zod schemas owned by the balance handlers. */ export declare namespace schema { /** Schemas for the getAddressBalances operation. */ namespace getAddressBalances { /** Path parameters for address balance requests. */ const Params: z.ZodMiniObject<{ address: z.ZodMiniPipe, z.ZodMiniTransform<`0x${string}`, `0x${string}`>>; }, z.core.$strip>; /** Query parameters for address balance requests. */ const Query: z.ZodMiniObject<{ chainId: z.ZodMiniOptional, z.ZodMiniTransform<4217 | 42431, "mainnet" | "testnet">>, z.ZodMiniPipe, z.ZodMiniTransform>]>, z.ZodMiniNumber>>; currency: z.ZodMiniOptional>; cursor: z.ZodMiniOptional>; feeEligible: z.ZodMiniOptional, z.ZodMiniTransform>>; include: z.ZodMiniPipe, z.ZodMiniTransform>, z.ZodMiniArray>>; limit: z.ZodMiniDefault, z.ZodMiniTransform>>; page: z.ZodMiniOptional>; 'valuation.currency': z.ZodMiniOptional, z.ZodMiniTransform>>; verified: z.ZodMiniOptional, z.ZodMiniTransform>>; }, z.core.$strict>; /** A TIP-20 balance with raw and formatted amounts. Unresolvable token metadata omits the row. */ const Balance: z.ZodMiniObject<{ amount: z.ZodMiniString; currency: z.ZodMiniString; decimals: z.ZodMiniNumber; feeEligible: z.ZodMiniOptional>; formatted: z.ZodMiniString; id: z.ZodMiniString; token: z.ZodMiniObject<{ address: z.ZodMiniPipe, z.ZodMiniTransform<`0x${string}`, `0x${string}`>>; currency: z.ZodMiniString; decimals: z.ZodMiniNumber; id: z.ZodMiniString; logoUri: z.ZodMiniOptional>; name: z.ZodMiniString; symbol: z.ZodMiniString; verified: z.ZodMiniBoolean; }, z.core.$strip>; valuation: z.ZodMiniOptional; currency: z.ZodMiniString; }, z.core.$strip>>>; }, z.core.$strip>; /** Page-level resources: opt-in counts plus valuation rate provenance. */ const Meta: z.ZodMiniObject<{ valuation: z.ZodMiniOptional; source: z.ZodMiniString; }, z.core.$strip>>; totalCount: z.ZodMiniOptional>; totalCountCapped: z.ZodMiniOptional>; }, z.core.$strip>; /** Page of TIP-20 token balances held by an address, ordered by amount descending. */ const Response: z.ZodMiniObject<{ data: z.ZodMiniArray; currency: z.ZodMiniString; decimals: z.ZodMiniNumber; feeEligible: z.ZodMiniOptional>; formatted: z.ZodMiniString; id: z.ZodMiniString; token: z.ZodMiniObject<{ address: z.ZodMiniPipe, z.ZodMiniTransform<`0x${string}`, `0x${string}`>>; currency: z.ZodMiniString; decimals: z.ZodMiniNumber; id: z.ZodMiniString; logoUri: z.ZodMiniOptional>; name: z.ZodMiniString; symbol: z.ZodMiniString; verified: z.ZodMiniBoolean; }, z.core.$strip>; valuation: z.ZodMiniOptional; currency: z.ZodMiniString; }, z.core.$strip>>>; }, z.core.$strip>>; meta: z.ZodMiniOptional; source: z.ZodMiniString; }, z.core.$strip>>; totalCount: z.ZodMiniOptional>; totalCountCapped: z.ZodMiniOptional>; }, z.core.$strip>>; nextCursor: z.ZodMiniNullable>; }, z.core.$strip>; } /** Schemas for the getAddressBalance operation. */ namespace getAddressBalance { /** Path parameters for a single address balance request. */ const Params: z.ZodMiniObject<{ address: z.ZodMiniPipe, z.ZodMiniTransform<`0x${string}`, `0x${string}`>>; token: z.ZodMiniPipe, z.ZodMiniTransform<`0x${string}`, `0x${string}`>>; }, z.core.$strip>; /** Query parameters for a single address balance request. */ const Query: z.ZodMiniObject<{ chainId: z.ZodMiniOptional, z.ZodMiniTransform<4217 | 42431, "mainnet" | "testnet">>, z.ZodMiniPipe, z.ZodMiniTransform>]>, z.ZodMiniNumber>>; 'valuation.currency': z.ZodMiniOptional, z.ZodMiniTransform>>; }, z.core.$strict>; /** A single TIP-20 token balance held by an address. */ const Response: z.ZodMiniObject<{ amount: z.ZodMiniString; currency: z.ZodMiniString; decimals: z.ZodMiniNumber; feeEligible: z.ZodMiniOptional>; formatted: z.ZodMiniString; id: z.ZodMiniString; token: z.ZodMiniObject<{ address: z.ZodMiniPipe, z.ZodMiniTransform<`0x${string}`, `0x${string}`>>; currency: z.ZodMiniString; decimals: z.ZodMiniNumber; id: z.ZodMiniString; logoUri: z.ZodMiniOptional>; name: z.ZodMiniString; symbol: z.ZodMiniString; verified: z.ZodMiniBoolean; }, z.core.$strip>; valuation: z.ZodMiniOptional; currency: z.ZodMiniString; }, z.core.$strip>>>; }, z.core.$strip>; } } /** * Creates address-scoped balance handlers, mounted under the `/addresses` * composer. Exposes the held-balance page and individual token balances. */ export declare function addresses(options?: addresses.Options): import("hono/hono-base").HonoBase; export declare namespace addresses { /** Options for the address-scoped balance handlers. */ type Options = { /** FX configuration backing per-row valuation. */ fx?: Valuation.addresses.Fx | undefined; }; } //# sourceMappingURL=balances.d.ts.map