import { BundleStatus } from '../shared/clients/club48.js'; import type { GeneratedWallet } from '../utils/wallet.js'; import { FourBundleConfig, FourCreateWithBundleBuyParams, FourCreateWithBundleBuyResult } from './tm-bundle-helpers.js'; export type { FourBundleConfig, FourCreateWithBundleBuyParams, FourCreateWithBundleBuyResult, FourProviderBundleWaitStatus, } from './tm-bundle-helpers.js'; export declare function createTokenWithBundleBuy(params: FourCreateWithBundleBuyParams): Promise; export type FourBatchBuyParams = { privateKeys: string[]; buyAmounts: string[]; tokenAddress: string; config: FourBundleConfig; }; export type FourBatchBuyResult = { bundleUuid: string; status: BundleStatus; buyTxs: string[]; profitHopWallets?: GeneratedWallet[]; }; /** * four.meme: 批量购买 */ export declare function batchBuyWithBundle(params: FourBatchBuyParams): Promise; export type FourBatchSellParams = { privateKeys: string[]; sellAmounts: string[]; tokenAddress: string; config: FourBundleConfig; }; export type FourBatchSellResult = { bundleUuid: string; status: BundleStatus; sellTxs: string[]; profitHopWallets?: GeneratedWallet[]; }; /** * four.meme: 批量卖出 */ export declare function batchSellWithBundle(params: FourBatchSellParams): Promise; export type FourPrivateBase = { rpcUrl: string; club48Endpoint?: string; club48ExplorerEndpoint?: string; }; export type FourPrivateBuyParams = FourPrivateBase & { privateKey: string; tokenAddress: string; funds: string; to?: string; spPrivateKey?: string; }; export type FourPrivateSellParams = FourPrivateBase & { privateKey: string; tokenAddress: string; amount: string; minFunds?: bigint; spPrivateKey?: string; }; export declare function fourPrivateBuy(params: FourPrivateBuyParams): Promise; export declare function fourPrivateSell(params: FourPrivateSellParams): Promise; export type FourBatchPrivateBuyParams = FourPrivateBase & { privateKeys: string[]; fundsList: string[]; tokenAddress: string; spPrivateKey?: string; }; export type FourBatchPrivateSellParams = FourPrivateBase & { privateKeys: string[]; amounts: string[]; tokenAddress: string; spPrivateKey: string; minFundsEach?: bigint; }; export declare function fourBatchPrivateBuy(params: FourBatchPrivateBuyParams): Promise; export declare function fourBatchPrivateSell(params: FourBatchPrivateSellParams): Promise;