import type { EIP7702Config } from './types.js'; export type UserType = 'v0' | 'v1' | 'default'; /** * 根据用户类型获取利润率(单边:发币/买卖/捆绑购买) * - v0 / default: v0Single(库表) * - v1: v1Single(库表) * 刷量/换手不要走这里,用 calculateBundleSwapRoundTripProfit */ export declare function getProfitRateBps(userType?: UserType): number; /** * 双边/换手单腿(仅兼容旧调用)。新换手路径用 round-trip 万六。 */ export declare function getProfitRateBpsDouble(_userType?: UserType): number; /** * 计算利润金额(旧版兼容) */ export declare function calculateProfitAmount(totalFlowWei: bigint, isSwapMode?: boolean): bigint; export declare function calculateProfitAmountByUserType(totalFlowWei: bigint, userType?: UserType, isDoubleMode?: boolean): bigint; /** * 根据交易数量计算利润金额 * @param totalFlowWei 总资金流水 * @param txCount 交易数量 * @param userType 用户类型 */ export declare function calculateProfitAmountByTxCount(totalFlowWei: bigint, txCount: number, userType?: UserType): bigint; export declare function getProfitRecipient(config?: EIP7702Config): string;