The literary device that provides clues or hints to suggest what will occur later in a story is called:
Allusion
Foreshadowing
Flashback
Metaphor