/** * 将 bigint 金额按随机权重拆分为多份,末份取 remainder,保证总和精确。 * 权重范围 500_000–1_500_000(与 dex-helpers 一致),全程 bigint 运算。 */ export declare function splitAmountByWeight(totalAmount: bigint, count: number): bigint[];