All signs pointed to defensive mid not being a target position this summer, we had Marti Pearnau telling Ahsan that Pep wanted 6 midfielders for 3 positions (Yaya, Fern, Gundogan, Bernardo, Silva, KDB), then obviously the fact we have no foreign spots except the one left by Alves, and all the other ITK stuff about no one in that position being wanted.
So if Danilo is coming, any midfield ability would be coincidental IMO - it might put him above another RB in the pecking order of targets, because Pep loves versatility - but I don't believe he's thinking "Yeah, get Danilo and I can solve my midfield problem and 2nd RB problem with one stone".
I'm not actually against Danilo as a player, I was listening to Sid Lowe's Spanish Football podcast and they were saying he had shown a lot of improvement at the end of last season, and I trust Guardiola to see what he wants in a player - I'm really just a bit pissed off that this ends Maffeo's City career.