import type { UserOperationReceipt } from "../types/index.js"; import type { Logger } from "pino"; import type { Hex, PublicClient } from "viem"; import type { SubmittedBundleInfo } from "../types/mempool.js"; export type BundleIncluded = { status: "included"; userOpReceipts: Record; transactionHash: Hex; blockNumber: bigint; }; export type BundleReverted = { status: "reverted"; blockNumber: bigint; transactionHash: Hex; }; export type BundleNotFound = { status: "not_found"; }; export type BundleInternalError = { status: "internal_error"; error: string; }; export type BundleStatus = (status extends "included" ? BundleIncluded : never) | (status extends "reverted" ? BundleReverted : never) | (status extends "not_found" ? BundleNotFound : never) | (status extends "internal_error" ? BundleInternalError : never); export declare const getBundleStatus: ({ publicClient, submittedBundle }: { submittedBundle: SubmittedBundleInfo; publicClient: PublicClient; logger: Logger; }) => Promise; //# sourceMappingURL=getBundleStatus.d.ts.map