The comments from Islamabad on Tuesday came in response to an address to the nation by Indian Prime Minister Narendra Modi a day earlier, in which he warned Pakistan that New Delhi would target "terrorist hideouts" across the border again if there were new attacks on India, without being deterred by "nuclear blackmail".
The nuclear-armed South Asian neighbours fired missiles and drones targeting each other's military installations after India said it struck "terrorist infrastructure" sites in Pakistan and Pakistani Kashmir on Wednesday in retaliation for an attack on Hindu tourists in Indian Kashmir that killed 26 men.
Pakistan said the targets were all civilian and denies Indian accusations that it was behind the Kashmir attack.
Pakistan's military said on Tuesday the dead in the attacks comprised 40 civilians and 11 of its armed forces. India has said at least five military personnel and 16 civilians died.
It was the worst fighting between the two nations in nearly three decades and they agreed to a ceasefire on Saturday, following diplomacy and pressure from the United States.
The Pakistani foreign ministry said Islamabad categorically rejects the "provocative and inflammatory assertions" made by Modi on Monday.
"At a time when international efforts are being made for regional peace and stability, this statement represents a dangerous escalation," it said in a statement.
"Pakistan remains committed to the recent ceasefire understanding and taking necessary steps towards de-escalation and regional stability," it said, adding that any future aggression will also be met with full resolve.
India said late on Tuesday it had declared an official working at the Pakistani High Commission in New Delhi persona non grata "for indulging in activities not in keeping with his official status in India".
Pakistan also declared a staff member at the Indian High Commission in Islamabad persona non grata "for engaging in activities incompatible with his privileged status".
In both cases, the individuals were told to leave the country within 24 hours.
Both countries have already reduced the strength of their embassies after relations nosedived following the April 22 Kashmir attack.
Hindu-majority India and Muslim Pakistan each rule part of the Himalayan region of Kashmir, but both claim it in full.
The neighbours have fought two of their three wars since independence in 1947 over the region and there have been several other limited flare-ups, including in 1999 and 2019.
"We will not differentiate between the government sponsoring terrorism and the masterminds of terrorism," Modi said on Tuesday, referring to India's response in the event of another attack.
"We will enter their dens and hit them without giving them an opportunity to survive."