In order to be sure of the typical sense, it must be revealed, i.e. it must come down to us through Scripture or tradition. Individual pious writers have developed copious analogies between certain data of the Old Testament and corresponding data of the New; however ingenious these developments may be, they do not prove that God really intended to convey the corresponding truths in the inspired text of the Old Testament. On the other hand, it must be kept in mind that not all truths contained in either Scripture or tradition have been explicitly proposed to the faithful as matters of belief by the explicit definition of the Church.
According to the principle "Lex orandi est lex credenti" we must treat at least with reverence the numberless suggestions contained in the official prayers and liturgies of the Church. In this sense we must regard many of the titles bestowed on Our Blessed Lady in her litany and in the "Ave maris stella". The Antiphons and Responses found in the Offices recited on the various feasts of Our Blessed Lady suggest a number of types of Mary that hardly could have been brought so vividly to the notice of the Church's ministers in any other way. The third antiphon of Lauds of the Feast of the Circumcision sees in "the bush that was not burnt" (Exodus 3:2) a figure of Mary conceiving her Son without the loss of her virginity. The second antiphon of Lauds of the same Office sees in Gideon's fleece wet with dew while all the ground beside had remained dry (Judges 6:37-38) a type of Mary receiving in her womb the Word Incarnate [12]. The Office of the Blessed Virgin applies to Mary many passages concerning the spouse in the Canticle of Canticles [13] and also concerning Wisdom in the Book of Proverbs 8:22-31 [14]. The application to Mary of a "garden enclosed, a fountain sealed up" mentioned in Canticles 4:12 is only a particular instance of what has been said above. [15] Besides, Sara, Debbora, Judith, and Esther are variously used as figures of Mary; the ark of the Covenant, over which the presence of God manifested itself, is used as the figure of Mary carrying God Incarnate within her womb. But especially Eve, the mother of all the living (Genesis 3:20), is considered as a type of Mary who is the mother of all the living in the order of grace [16].
(Taken from the Catholic Encyclopedia)