import { type GeneratedWallet } from '../../../utils/wallet.js'; import { type PancakeSwapSignConfig, type RouteParams } from './bundle-swap-helpers.js'; /** * 批量换手参数(一卖多买) */ export interface PancakeBatchSwapSignParams { sellerPrivateKey: string; sellAmount?: string; sellPercentage?: number; buyerPrivateKeys: string[]; buyerAmounts?: string[]; buyerRatios?: number[]; tokenAddress: string; routeParams: RouteParams; config: PancakeSwapSignConfig; quoteToken?: string; quoteTokenDecimals?: number; startNonces?: number[]; } /** * 批量换手结果 */ export interface PancakeBatchSwapResult { signedTransactions: string[]; profitHopWallets?: GeneratedWallet[]; metadata?: { sellerAddress: string; buyerAddresses: string[]; sellAmount: string; buyAmounts: string[]; profitAmount?: string; }; } /** * PancakeSwap 批量换手(一卖多买) * * 功能:主钱包一次卖出 → 多个子钱包同时买入 → 在同一个区块中完成 * 限制:最多 24 个买方(服务器限制 25 笔交易,包含 1 笔利润交易) * * 交易顺序:[授权(可选)] → [卖出] → [买入1, 买入2, ..., 买入N] → [利润] */ export declare function pancakeBatchSwapMerkle(params: PancakeBatchSwapSignParams): Promise;