In response to Pakistan's attack, Afghanistan said that the actions will be met with a “necessary and measured response”.