import { type Hex } from './abi.js'; /** EntryPoint v0.7 (matches getEntryPoint('0.7')). */ export declare const ENTRY_POINT_V07: Hex; /** Unpacked v0.7 UserOperation fields needed to recompute the hash. */ export interface UnpackedUserOp { sender: string; nonce: bigint | number | string; factory?: string | null; factoryData?: string | null; callData: string; callGasLimit: bigint | number | string; verificationGasLimit: bigint | number | string; preVerificationGas: bigint | number | string; maxFeePerGas: bigint | number | string; maxPriorityFeePerGas: bigint | number | string; paymaster?: string | null; paymasterVerificationGasLimit?: bigint | number | string | null; paymasterPostOpGasLimit?: bigint | number | string | null; paymasterData?: string | null; } /** * accountGasLimits packs verificationGasLimit (high 128) ‖ callGasLimit (low); * gasFees packs maxPriorityFeePerGas (high) ‖ maxFeePerGas (low). initCode = * factory ‖ factoryData; paymasterAndData = paymaster ‖ pmVerGas(16) ‖ * pmPostOpGas(16) ‖ pmData. The hash is keccak(abi.encode(keccak(inner), * entryPoint, chainId)). */ export declare function computeUserOpHashV07(op: UnpackedUserOp, entryPoint: string, chainId: number): Hex;