import { type TokenDisplaySize } from '@/biz'; interface AmountInfo { /** * @description 虚拟货币类型 * @default `undefined` */ token: string; /** * @description 代币数量 * @default '' */ tokenAmount: string; /** * @description 代币等值的美元金额 * @optional */ usdAmount?: string; /** * @description 代币兑美元的汇率 * @optional */ usdRate?: string; /** * @description 是否显示完整金额而非格式化后的金额 * @optional * @default false */ showFullAmount?: boolean; } /** * 金额显示组件的属性接口 */ interface AmountDisplayProps extends AmountInfo { /** 可选,字体类名 */ fontClassName?: string; } export declare const AmountDisplay: React.FC; interface AmountDisplayWithIconProps extends AmountInfo { /** * @description 代币图标 链接 */ tokenIcon: string; /** * @description 是否禁用 */ inactive?: boolean; /** * @description 链图标 链接 */ chainIcon?: string; /** * @description 图标大小 */ size?: TokenDisplaySize; } export declare const AmountDisplayWithIcon: React.FC; export {};