How do astrologers predict important future figures?

Say, for example, someone from ancient Egypt predicting Cleopatra thousands of years later. Or someone from 100 BCE prophesizing Jesus, for example. How could this be done with astrology?