After the shepherds departed having told them what the angels had said we are told that “Mary kept all these things, reflecting on them in her heart.”
Mary “pondered” (to think about (something) carefully, esp. before deciding or concluding.) – What did she really know?
Here is a song called: Mary Did you know? I think the answer is quite evident- She knew none of these things for certain but she trusted enough in God to say to the possibilty.
(Remember to click on the “X” to get rid of the annoying Google ads when they appear.)