Actually Pakistan is hoping the 1988-89 situation. When the Russians left the country, it went into civil war and Taliban won with the help of Pakistan.
They think the same will happen when the US leaves Afgan. But US will ensure that there will not be any attack on US interests from these region once they goes out. So very tricky situation and a stalemate.
US wont leave or will train other Afgans to hold in Afgan and Taliban will keep fighting. One the same time US will put pressure on Pak to stop backing Taliban and pressure them to join in the government.
Its a game of patience , all players are waiting, fighting, pressurizing, hoping for the best.