import type { InterfaceReputationManager } from "../mempool/index.js"; import { type BundleResult, type CompressedUserOperation, EntryPointV06Abi, EntryPointV07Abi, type TransactionInfo, type UserOperationWithHash } from "../types/index.js"; import type { Logger } from "../utils/index.js"; import { type Account, type Address, type Chain, type GetContractReturnType, type Hex, type PublicClient, type Transport, type WalletClient } from "viem"; export declare function simulatedOpsToResults(simulatedOps: { owh: UserOperationWithHash; reason: string | undefined; }[], transactionInfo: TransactionInfo): BundleResult[]; export type DefaultFilterOpsAndEstimateGasParams = { ep: GetContractReturnType; type: "default"; }; export type CompressedFilterOpsAndEstimateGasParams = { publicClient: PublicClient; bundleBulker: Address; perOpInflatorId: number; type: "compressed"; }; export declare function createCompressedCalldata(compressedOps: CompressedUserOperation[], perOpInflatorId: number): Hex; export declare function filterOpsAndEstimateGas(entryPoint: Address, callContext: DefaultFilterOpsAndEstimateGasParams | CompressedFilterOpsAndEstimateGasParams, wallet: Account, ops: UserOperationWithHash[], nonce: number, maxFeePerGas: bigint, maxPriorityFeePerGas: bigint, blockTag: "latest" | "pending", onlyPre1559: boolean, fixedGasLimitForEstimation: bigint | undefined, reputationManager: InterfaceReputationManager, logger: Logger): Promise<{ simulatedOps: { owh: UserOperationWithHash; reason: string | undefined; }[]; gasLimit: bigint; resubmitAllOps: boolean; }>; export declare function flushStuckTransaction(publicClient: PublicClient, walletClient: WalletClient, wallet: Account, gasPrice: bigint, logger: Logger, entryPoint: Address): Promise; //# sourceMappingURL=utils.d.ts.map