foreshadowing

US /fɔrˈʃæd·oʊ·ɪŋ, foʊr-/
UK /fɔrˈʃæd·oʊ·ɪŋ, foʊr-/
"foreshadowing" picture
1.

presagio, premonición

a literary device in which a writer gives an advance hint of what is to come later in the story

:
The dark clouds and distant thunder served as foreshadowing of the coming storm.
Las nubes oscuras y el trueno distante sirvieron como presagio de la tormenta que se avecinaba.
The author used subtle foreshadowing to hint at the tragic ending.
El autor utilizó un sutil presagio para insinuar el trágico final.