import type { RejectedUserOp, UserOpInfo, UserOperationBundle } from "../types/index.js"; import { type Logger } from "../utils/index.js"; import { type Address, type Hex } from "viem"; import type { AltoConfig } from "../createConfig.js"; export type FilterOpsResult = { status: "success"; userOpsToBundle: UserOpInfo[]; rejectedUserOps: RejectedUserOp[]; bundleGasUsed: bigint; bundleGasLimit: bigint; totalBeneficiaryFees: bigint; } | { status: "unhandled_error"; rejectedUserOps: RejectedUserOp[]; } | { status: "all_ops_rejected"; rejectedUserOps: RejectedUserOp[]; }; export declare const getFilterOpsResult: ({ config, userOpBundle, networkBaseFee, beneficiary }: { userOpBundle: UserOperationBundle; config: AltoConfig; networkBaseFee: bigint; beneficiary: Address; }) => Promise<{ gasUsed: bigint; balanceChange: bigint; rejectedUserOps: readonly { userOpHash: Hex; revertReason: Hex; }[]; }>; export declare function filterOpsAndEstimateGas({ checkEip7702AuthNonces, userOpBundle, config, logger, networkBaseFee }: { checkEip7702AuthNonces: boolean; userOpBundle: UserOperationBundle; config: AltoConfig; logger: Logger; networkBaseFee: bigint; }): Promise; //# sourceMappingURL=filterOpsAndEstimateGas.d.ts.map