import type { Call3Value } from './types.js'; /** * 操作类型(用于 gas 估算) */ export type OperationType = 'transfer' | 'buy' | 'sell' | 'swap' | 'create' | 'approve' | 'graduate' | 'unknown'; /** * 动态估算 Gas Limit * * @param authorizationCount 授权数量 * @param calls Multicall 调用列表 * @param configGasLimit 配置的 gas limit(可选,优先使用) * @returns 估算的 gas limit */ export declare function estimateGasLimit(authorizationCount: number, calls: Call3Value[], configGasLimit?: bigint): bigint; /** * 简化版 gas 估算(仅根据调用数量) * 适用于无法分析 callData 的场景 */ export declare function estimateGasLimitSimple(authorizationCount: number, callCount: number, operationType?: 'simple' | 'buy' | 'sell' | 'swap' | 'create' | 'graduate', configGasLimit?: bigint): bigint;