import type { EstimatedFee, NetworkFee } from './types'; export interface TransactionCostProps { /** * 是否正在获取费率,请求后台接口 `estimate_fee` 中 */ isFetching?: boolean; /** * 费率,由后台接口返回 */ fee?: EstimatedFee | null; /** * 代币符号,由后台接口返回,如 BSC_BNB,ETH */ tokenSymbol?: string; /** * 代币兑美元的汇率,由后台接口返回 */ usdRate?: string; /** * 是否余额不足 */ isBalanceInsufficient?: boolean; /** * 当前选中的网络费,前端数据结构 */ value?: NetworkFee; /** * 选中网络费后回调,前端数据结构 */ onChange?: (networkFee: NetworkFee) => void; } export declare const TransactionCost: React.FC;