import type { FunAddress, SolanaAddress } from '@funkit/api-base'; import type { TFunction } from 'i18next'; /** * Minimal structural shape needed for the wallet-label template. Web callers * pass the full `FunkitTextCustomizationsConfig` (which satisfies this); RN * callers can pass any object with `accountBalance`. */ interface AccountBalanceLabelOptions { accountBalance: string; } export declare const getWalletLabel: (t: TFunction, textCustomizations: AccountBalanceLabelOptions, walletAddress?: string) => string; export declare function isWithdrawalAddressSupported(address: string): boolean; /** * EIP-55 for EVM-shaped input, trimmed-only otherwise — Solana and Tron * addresses are case-sensitive. Keeps a hand-typed recipient from reaching an * API as two different strings for one address. */ export declare function normalizeRecipientAddress(address: FunAddress): FunAddress; /** * Check if the recipient address is compatible with selected chain. * Supports EVM, Solana, and Tron chains for withdrawal. */ export declare function isAddressCompatibleWithChain(address: string, chainId: number): boolean; /** * True for any positive-integer chain id that isn't a known non-EVM chain (see * `NON_EVM_CHAIN_IDS` in `@funkit/chains`). */ export declare function isEvmChainId(chainId: string | number): boolean; /** Single base58 gate for host-supplied Solana addresses. */ export declare function toValidatedSolanaAddress(address: string | undefined): SolanaAddress | undefined; export {}; //# sourceMappingURL=address.d.ts.map