/** * ENI BatchRouter — 批量归集(EGAS / ERC20) * * - batchSweepToken: 批量归集 ERC20 (各钱包独立签名) * - batchSweepEgas: 批量归集 EGAS (各钱包独立签名) * - eniSweepForSubmit: 前端统一入口 (EGAS / ERC20 归集) */ export interface BatchSweepTokenParams { rpcUrl?: string; token: string; privateKeys: string[]; amounts: bigint[]; target: string; gasPrice?: bigint; gasLimit?: bigint; } export interface BatchSweepTokenResult { transactions: Array<{ signedTx: string; from: string; nonce: number; }>; } export declare function batchSweepToken(params: BatchSweepTokenParams): Promise; export interface BatchSweepEgasParams { rpcUrl?: string; privateKeys: string[]; amounts: bigint[]; target: string; gasPrice?: bigint; } export declare function batchSweepEgas(params: BatchSweepEgasParams): Promise; export interface EniSweepParams { rpcUrl?: string; sourcePrivateKeys: string[]; target: string; targetPrivateKey?: string; tokenAddress?: string; tokenDecimals?: number; ratioPct?: number; hopCount?: number; gasLimit?: number; } export interface EniSweepResult { signedTransactions: string[]; hopWallets?: { address: string; privateKey: string; }[][]; } export declare function eniSweepForSubmit(params: EniSweepParams): Promise;