import type { Hex } from '../../types/misc.js' import type { RpcAuthorization } from '../../types/rpc.js' import type { EntryPointVersion } from './entryPointVersion.js' import type { EstimateUserOperationGasReturnType, GetUserOperationByHashReturnType, UserOperation, UserOperationReceipt, UserOperationRequest, } from './userOperation.js' export type RpcEstimateUserOperationGasReturnType< entryPointVersion extends EntryPointVersion = EntryPointVersion, > = EstimateUserOperationGasReturnType export type RpcGetUserOperationByHashReturnType< entryPointVersion extends EntryPointVersion = EntryPointVersion, > = GetUserOperationByHashReturnType export type RpcUserOperation< entryPointVersion extends EntryPointVersion = EntryPointVersion, > = UserOperation & { eip7702Auth?: RpcAuthorization } export type RpcUserOperationReceipt< entryPointVersion extends EntryPointVersion = EntryPointVersion, > = UserOperationReceipt export type RpcUserOperationRequest< entryPointVersion extends EntryPointVersion = EntryPointVersion, > = UserOperationRequest