The air raids took place near the mountainous border between the two countries.
Pakistan had warned that it planned to take action against militant strongholds in Afghanistan after two deadly attacks on the country's security forces near the border.
In the Pakistani capital, Islamabad, authorities are blaming the Pakistani Taliban and its allies, including the Afghan Taliban, for the violence.
In a post on X, the spokesman for the Afghan Taliban regime, Zabiullah Mujahid, condemned the attacks and said that they would respond in kind.





