Guardiola knows about his position and through his coach career, he doesn't want to work for clubs with weak positions and not too good player resources. We can say he took the coach position in Barcelona when they weren't in a too good situation, but it was far than a crisis and it's the first club of Pep Guardiola. A next one is Bayern Munich what dominated Bundesliga for years and had many star players when Pep Guardiola joined them. A third club for him is Manchester City, and he joined them with many available star players too.
Now, he can sign a new contract with them, or can leave the club to take a rest for one or two seasons and take a new challenge, perhaps in another league. If Pep Guardiola views that his chance to succeed in Manchester City is small, he will leave with his known style.
To be fair there are many clubs with deep pockets that would let him do whatever he wants and get any player he wants. The transfer itself is done by the club, not the manager but he could give them names, and the teams would pay whatever needed to get those names. PSG would do that, with Bayern looking decent not sure if they will sack Kompany but he worked there before so maybe, he could go to United which would be funny but can happy, basically there are many teams, he could go to Serie A, he was talking about wanting to go there too.
So all in all, there are many teams he could go to. He could be the first coach ever to finish hexagon challenge, win treble with every team in 5 leagues, he could do that with an Italian team, and then do that with PSG, so could be very fun to watch that. In the end, him staying in City makes sense and he will probably do that, it's not going to be all that bad and could be a very profitable business without a doubt.