import { type UserOpInfo, type UserOperation } from "../types/index.js"; import { type Logger } from "../utils/index.js"; import { type Account, type Address, type BaseError, type Hex, type SignedAuthorizationList } from "viem"; import type { AltoConfig } from "../createConfig.js"; export declare const getBundleGasLimit: ({ config, userOps, entryPoint, executorAddress }: { config: AltoConfig; userOps: UserOperation[]; entryPoint: Address; executorAddress: Address; }) => Promise; export declare const isTransactionUnderpricedError: (e: BaseError) => boolean; export declare function calculateAA95GasFloor({ userOps, beneficiary }: { userOps: UserOperation[]; beneficiary: Address; }): bigint; export declare const getUserOpHashes: (userOpInfos: UserOpInfo[]) => `0x${string}`[]; export declare const packUserOps: (userOps: UserOperation[]) => { sender: `0x${string}`; nonce: bigint; initCode: `0x${string}`; paymasterAndData: `0x${string}`; callData: `0x${string}`; preVerificationGas: bigint; signature: `0x${string}`; accountGasLimits: `0x${string}`; gasFees: `0x${string}`; }[]; export declare const encodeHandleOpsCalldata: ({ userOps, beneficiary }: { userOps: UserOperation[]; beneficiary: Address; }) => Hex; export declare const getAuthorizationListFromUserOps: (userOps: UserOperation[]) => SignedAuthorizationList | undefined; export declare function flushStuckTransaction({ config, wallet, gasPrice, logger }: { config: AltoConfig; wallet: Account; gasPrice: bigint; logger: Logger; }): Promise; //# sourceMappingURL=utils.d.ts.map