In both English and Modern Hebrew, the word for dream means both what goes on in the brain when asleep and an aspiration (e.g. I dream to finish shas/get 50 upvotes on my MiYodeya question).
Is this true in ancient/biblical/mishnaic/rabbinic Hebrew?
I.e. can you find anywhere in pre 20th century Jewish literature that uses the word חלום in this way?