We will see what happens this season and next season.
Asked if he would be interested in prolonging his stay, the Spaniard said: "I'm open (to it), yes".
But Guardiola has for the first time indicated that he would be prepared to discuss the prospect of staying beyond the summer of 2021 and into a sixth season in charge at the Etihad.
The corresponding fixture at this venue last season ended in a 2-1 victory for the Magpies, and this time Raheem Sterling gave the visitors the lead after 22 minutes before Jetro Willems equalised three minutes later.
Javier Manquillo had to produce a last-ditch tackle to deny Gabriel Jesus after De Bruyne and Sterling had picked a path through in the 65th minute, and Dubravka had to turn away a risky De Bruyne cross seconds later.
Christian Atsu squared the resulting free kick to the edge of the box where Shelvey curled a brilliant effort beyond Ederson and cause wild celebration amongst the home fans. "What I want is we stay together this season and next season, but I don't know what's the best for him". For me, it was great to learn that sometimes you can play in other places and it is good to feel other places. "But no, It's about us, we need to get as many points on the board as possible to guarantee safety".
Opposite number Steve Bruce was delighted with the resilience of his team, which had lost tamely at Aston Villa on Monday evening, and in particular with Shelvey's contribution.
The City manager was reluctant to discuss the implications of such astonishing financial muscle but he was keen to stress the strength of his working relationship with the club's owner, Khaldoon Al Mubarak.
The Slovakia global pulled off a fine 68th-minute double save to deny Jesus and De Bruyne and saw substitute Bernardo Silva drag a left-foot shot wide four minutes later with the pressure mounting. I'll let you decide.
"We're going to have to reflect and change it round very quickly", he said. It's as simple as seeing the players, how we work together.
Manchester City manager Pep Guardiola says he's not looking too far ahead in the title race. They are a shadow of the side that has swept all before them over the past two seasons and are so far behind Liverpool already that their chances of another title look remote.