Doubt Regarding package dependencies

Is it necessary to write std_msg in Package Dependencies during creating packages. Can I use std_msg without writing in the start. Can I use other msg types without mentioning in the package creation time?

I don’t think it’s necessary. However it’s easy to find out if the script you write can’t find them