I think God has given u special powers where u can see the future perfectly
Firstly, Americans are not leaving completely post-2014, only there combat forces will leave while they will retain many important bases in Afghanistan just like they did in Iraq, so u can be rest assured of drone strikes + till the Americans will operate those bases, they will make sure that Taliban don't come to power in Kabul since that means danger to there own survival in Afghanistan.
Secondly, Not only India but other major powers such as China & Russia are also investing in Afghanistan & they will make sure that Kabul remains in the hands of a democratically elected liberal govt. so it is not the case of pre-9/11 where world did not bothered who was running Afghanistan, now billions are stake of many countries so they will not like to see there investments fall into a black hole.
Thirdly, I am not saying that Taliban is not a power in Afghanistan, yes they are a power to reckon with as far as Afghanistan is concerned, but they will never be able to control whole of Afghanistan, how much of Afghanistan they can get there hands onto is a totally different question.
Fourthly, when Taliban came to power in 1995, the govt. at Kabul was very weak & they didn't have power to fight to them, thus they lost, but things have changed dramatically now, ANA is very strong with 3+ lakh forces & planning to have there own Air force. So if Taliban again tries to grab power in Kabul they have to fight better trained & better equipped soldiers this time around with nearly every country in this world on there side giving every possible help to them while the Taliban have only Pakistan to look upto which itself is beset with many problems.