import { type UserOperationRequest, type UserOperationStruct } from "@alchemy/aa-core"; import type { NotPromise } from "./calc-pre-verification-gas.js"; /** * pack the userOperation * @param op * @param forSignature "true" if the hash is needed to calculate the getUserOpHash() * "false" to pack entire UserOp, for calculating the calldata cost of putting it on-chain. */ export declare function packUserOp(op: NotPromise, forSignature?: boolean): string; /** * Utility method for asserting a {@link UserOperationStruct} is a {@link UserOperationRequest} * * @param request a {@link UserOperationStruct} to validate * @returns a type guard that asserts the {@link UserOperationStruct} is a {@link UserOperationRequest} */ export declare function isValidRequest(request: UserOperationStruct): request is UserOperationRequest; export declare const hexifyUserOp: (resolvedUserOp: any) => {}; //# sourceMappingURL=ERC4337-utils.d.ts.map