Typedef a package

How can I typedef a package? is it possible and legal?

In reply to debashis_paul:

It is not possible. Packages must be compiled before use, and the package name is fixed.