The phrase "The sun winked at us from behind the clouds but never came out" contains:
a simile.
a metaphor.
foreshadowing.
personification.