import type { EventManager } from "../handlers/index.js"; import type { Address, BundleResult, GasPriceParameters, UserOpInfo, UserOperationBundle } from "../types/index.js"; import type { Logger } from "../utils/index.js"; import { type Account, type SignedAuthorizationList } from "viem"; import type { AltoConfig } from "../createConfig.js"; type HandleOpsTxParams = { gas: bigint; account: Account; nonce: number; userOps: UserOpInfo[]; entryPoint: Address; }; type HandleOpsGasParams = { type: "legacy"; gasPrice: bigint; maxFeePerGas?: undefined; maxPriorityFeePerGas?: undefined; } | { type: "eip1559"; maxFeePerGas: bigint; maxPriorityFeePerGas: bigint; gasPrice?: undefined; } | { type: "eip7702"; maxFeePerGas: bigint; maxPriorityFeePerGas: bigint; gasPrice?: undefined; authorizationList: SignedAuthorizationList; }; export declare class Executor { config: AltoConfig; logger: Logger; eventManager: EventManager; constructor({ config, eventManager }: { config: AltoConfig; eventManager: EventManager; }); getBundleGasPrice({ bundle, networkGasPrice, networkBaseFee, totalBeneficiaryFees, bundleGasUsed }: { bundle: UserOperationBundle; networkGasPrice: GasPriceParameters; networkBaseFee: bigint; totalBeneficiaryFees: bigint; bundleGasUsed: bigint; }): GasPriceParameters; sendHandleOpsTransaction({ txParam, gasOpts, childLogger, submissionAttempts }: { txParam: HandleOpsTxParams; gasOpts: HandleOpsGasParams; childLogger: Logger; submissionAttempts: number; }): Promise<`0x${string}`>; bundle({ executor, userOpBundle, networkGasPrice, networkBaseFee, nonce }: { executor: Account; userOpBundle: UserOperationBundle; networkGasPrice: GasPriceParameters; networkBaseFee: bigint; nonce: number; }): Promise; } export {}; //# sourceMappingURL=executor.d.ts.map