A Hamas delegation has left talks in Cairo without a deal for a ceasefire in Gaza, but the armed group says indirect negotiations with Israel are not over.