The correct answer is: an omniscient character.
Step-by-step explanation
A narrator with insight into the minds of all the other characters and who has a foreknowledge of what was going to happen would be an omiscient character. This type of narrator knows all the thoughts and feelings of the characters in the story, because this narrator isn't one of them.