Both
Job 26:10 (New King James Version)
10 He drew a circular horizon on the face of the waters,
At the boundary of light and darkness. (in the hebrew they had no word for sphere)
isaiah 40:22
It is he that sitteth upon the circle of the earth, and the inhabitants thereof are as grasshoppers; that stretcheth out the heavens as a curtain, and spreadeth them out as a tent to dwell in.
Literal.
And in revelation
Revelation 19:15
Out of his mouth comes a sharp sword with which to strike down the nations. "He will rule them with an iron scepter." He treads the winepress of the fury of the wrath of God Almighty.
this could be either metaphorical or literal .
The Bible is full of mystery to which we will
NEVER learn the extents of what the Bible has to offer us.