import type { BundleStatus, SoulPointSignatureMode, VNormalizationMode } from '../../../core/clients/club48.js'; export type FlapBundleConfig = { rpcUrl: string; club48Endpoint?: string; club48ExplorerEndpoint?: string; spMode?: SoulPointSignatureMode; spVMode?: VNormalizationMode; spPrivateKey?: string; bundleBlockOffset?: number; noMerge?: boolean; tipAmountWei?: bigint; txType?: 0 | 2; gasLimitMultiplier?: number; waitTimeoutMs?: number; slippageBps?: number; }; export type FlapChainForBundle = 'BSC'; export type FlapCreateWithBundleBuyParams = { chain: FlapChainForBundle; privateKeys: string[]; buyAmounts: string[]; tokenInfo: { name: string; symbol: string; meta: string; }; quoteToken?: string; tokenAddress: string; config: FlapBundleConfig; dexThresh?: number; migratorType?: number; taxRate?: number; salt?: string; }; export type FlapCreateWithBundleBuyResult = { bundleUuid: string; tokenAddress?: string; status: BundleStatus; createTx: string; buyTxs: string[]; }; export type FlapBatchBuyParams = { chain: FlapChainForBundle; privateKeys: string[]; buyAmounts: string[]; tokenAddress: string; config: FlapBundleConfig; }; export type FlapBatchBuyResult = { bundleUuid: string; status: BundleStatus; buyTxs: string[]; }; export type FlapBatchSellParams = { chain: FlapChainForBundle; privateKeys: string[]; sellAmounts: string[]; tokenAddress: string; config: FlapBundleConfig; }; export type FlapBatchSellResult = { bundleUuid: string; status: BundleStatus; sellTxs: string[]; }; export type FlapPrivateBase = { chain: FlapChainForBundle; config: FlapBundleConfig; }; export type FlapPrivateBuyParams = FlapPrivateBase & { privateKey: string; tokenAddress: string; amountIn: string; to?: string; spPrivateKey?: string; }; export type FlapPrivateSellParams = FlapPrivateBase & { privateKey: string; tokenAddress: string; amount: string; minEth?: bigint; spPrivateKey?: string; }; export type FlapBatchPrivateBuyParams = FlapPrivateBase & { privateKeys: string[]; amountsIn: string[]; tokenAddress: string; spPrivateKey: string; }; export type FlapBatchPrivateSellParams = FlapPrivateBase & { privateKeys: string[]; amounts: string[]; tokenAddress: string; spPrivateKey?: string; minEthEach?: bigint; }; export type FlapBatchPrivateSellResult = { submitted: boolean; sellTxs: string[]; bundleUuid?: string; status?: BundleStatus; };