import type { CommonBundleConfig } from '../../../utils/bundle-helpers.js'; import type { GeneratedWallet } from '../../../utils/wallet.js'; import type { FourSignConfig, UserType } from './config.js'; export type FourBuyFirstSignConfig = FourSignConfig & { reserveGasBNB?: number; userType?: UserType; }; export type FourBuyFirstConfig = CommonBundleConfig & { apiKey: string; customRpcUrl?: string; bundleBlockOffset?: number; reserveGasBNB?: number; waitForConfirmation?: boolean; waitTimeoutMs?: number; }; export type FourBundleBuyFirstSignParams = { buyerPrivateKey?: string; buyerPrivateKeys?: string[]; buyerFunds?: string; buyerFundsPercentage?: number; sellerPrivateKey?: string; sellerPrivateKeys?: string[]; tokenAddress: string; config: FourBuyFirstSignConfig; buyCount?: number; sellCount?: number; }; export type FourBundleBuyFirstParams = { buyerPrivateKey: string; buyerFunds?: string; buyerFundsPercentage?: number; sellerPrivateKey: string; tokenAddress: string; config: FourBuyFirstConfig; }; export type FourBuyFirstResult = { signedTransactions: string[]; profitHopWallets?: GeneratedWallet[]; metadata?: { buyerAddress: string; sellerAddress: string; buyAmount: string; sellAmount: string; profitAmount?: string; buyCount?: number; sellCount?: number; buyAmounts?: string[]; sellAmounts?: string[]; }; };