KABUL, Afghanistan—Afghan officials say Pakistan has agreed in principle to target and eliminate the hideouts of Taliban fighters and other insurgents who refuse to take part in hoped-for peace talks.

Presidential spokesman Waheed Omar offered no details Sunday of how the two countries will cooperate.

Many Taliban fighters use Pakistan’s tribal areas a launching pad for attacks on Western troops in neighboring Afghanistan.

Omar and other Afghan officials said they expect “tactical results” from Pakistan in the coming months, but gave no concrete indication of when or how Islamabad will confront the insurgents.

Officials also said the planned Afghan peace talks remain open to any insurgent group willing to give up violence. So far, there have been no substantive talks with any insurgent groups.