Iran has told mediators Qatar and Oman that it is not open to negotiating a ceasefire while it is under Israeli attack, an official briefed on the communications told Reuters, the latter reports.

"The Iranians informed Qatari and Omani mediators that they will only pursue serious negotiations once Iran has completed its response to the Israeli pre-emptive strikes," said the official, who spoke on the condition of anonymity.

Iran made "clear that it will not negotiate while under attack," the official said.

The official added that media reports that Iran appealed to Oman and Qatar to engage the US to broker a ceasefire and renew nuclear talks were inaccurate.