ISLAMABAD — The Taliban have given the U.S. envoy a document outlining their offer for a temporary cease-fire in Afghanistan that would last between seven and 10 days, Taliban officials familiar with the negotiations said Thursday.

The offer is seen as an opportunity to open a window to an eventual peace deal for Afghanistan that would allow the United States to bring home its troops and end the 18-year war, America's longest conflict.

The cease-fire offer was handed to Zalmay Khalilzad, Washington's envoy for talks with the insurgents, late on Wednesday in Qatar, a Gulf Arab country where the Taliban maintain a political office.

Khalilzad has been pressing for a cease-fire but it wasn’t immediately clear whether the Taliban proposal would be enough to allow for the on-again off-again talks between the Taliban and the U.S. to restart, with the aim of eventually signing a peace deal.

Previously, Khalilzad said a U.S.-Taliban deal would also include the start of negotiations among Afghans on both sides of the conflict to hammer out a so-called road map to a post-war Afghanistan. That road map would tackle thorny issues such as a permanent cease-fire, women's and minority rights, and the fate of thousands of Taliban fighters and also militias loyal to Kabul's warlords.

But the Taliban have been refusing to talk with the Kabul government of Afghan President Ashraf Ghani and Chief Executive Abdullah Abdullah. The two are currently fighting over who won last year's presidential elections. The initial vote count gave Ghani the win but Abdullah, who came in second, is contesting the count. A final outcome has yet to be announced by Afghanistan's election commission.

Are Afghan forces beating the Taliban in 2019? The Pentagon won’t say. Rosy metrics provided by the U.S. military regarding progress of the Afghan war have been questionable in the past.

Last September, the Taliban and the U.S. appeared close to signing a deal when an upsurge in Taliban attacks, including the killing of another U.S. soldier, prompted President Donald Trump to scrap the talks. On Thanksgiving, during his first visit to U.S. troops in Afghanistan, Trump softened his stance, saying the Taliban were ready to make a deal, though both Kabul and Washington insisted the Taliban would have to show a sign of good faith by reducing their attacks.

× Fear of missing out? Sign up for the Early Bird Brief - a daily roundup of military and defense news stories from around the globe. Thanks for signing up. By giving us your email, you are opting in to the Early Bird Brief.

In December, the Taliban leadership headquartered in Pakistan agreed to put forth a temporary cease-fire offer.

A Taliban official said that mistrust has long characterized the U.S.-Taliban talks and that the insurgents hesitated to offer a more permanent cease-fire without having U.S. troops pull out first. Should the truce deal fall, returning Taliban fighters to the battlefield with the same intensity could be a problem, the official said.

“'There was a thinking within the Taliban ranks that it would be difficult for them to reorganize fighters after a break in fighting,” said the official, speaking on condition of anonymity to discuss the talks.

Taliban fighters were also unwilling to lay down their arms, “thinking it's their fighting that's forcing the U.S. to come to the table,” he said.

The Taliban today control around half of Afghanistan and continue to stage near-daily attacks targeting Afghan and U.S. forces, Afghan government officials or those seen as loyal to the Kabul administration but many civilians are also dying in the crossfire of the insurgent attacks, as well as in operations against the Taliban carried out by Afghan and U.S. forces.