The declaration has been agreed on by representatives from both sides in Doha weeks after talks in Washington.