The US, Israel, Egypt, and Qatar have agreed on the "basic contours" of a hostage deal in exchange for a temporary ceasefire in Gaza, US National Security Advisor Jake Sullivan said.