Both.
Although the only death that occurred immediately thte same day as God promised for Adam and Eve was spiritual.
However, until Adam, people did not physically die.
The sin of those who resulted in the corruption of the entire world and both physical and spiritual death.
I had never thought about it before, but it is a really excellent argument that since death did not occur until Adam and Eve, the current evolutionary view of species dying out and being replaced by evolved ones until gradually a human developed could not be the case. Because none of the species that preceded our branch of the evolutionary tree would have died out, which they did.
In other words, if the Scripture is correct that death only entered the world with the Fall, then evolution has to be incorrect.
Just curious - is it your belief that there were people before Adam?
Animals died. Adam knew what death was.