India will remain enough "in the picture" in Afghanistan to do in Pakistan what Pakistan has been doing to its east via its newfound proxies.
Can you provide any evidence of India's 'influence' in Afghanistan that can be used against Pakistan?
India has slowly consolidated its position internally and internationally to the point where it now holds distinct long term advantages. Adding Afghanistan as a thorn in Pakistan's backside will only help that process further.
Its funny that you are essentially accusing India of things that even the Indian government denies of doing. Please provide evidence for your claims. India is a non-factor in Afghanistan, & will not be involved in the end-game in Afghanistan.