type TransactionResult<T = never> = If< Equals<T, never>, Omit<TransactionResultWithMetadata, "data">, TransactionResultWithMetadata<T> >;