Hamas has expressed readiness to release hostages held in Gaza as part of a proposed peace deal by Donald Trump, while emphasising the need for negotiations on the future governance of the Palestinian territory.