For instancing the interface, the search path works the same as for any module instantiated in a design.Originally posted in cdnusers.org by tpylant
For packages, you import only the package you want to use. If you need items from multiple packages and can't wildcard import the packages, then you will have to import only the items you need.
typedef logic var_t;
typedef bit var_t;
import test2_pkg::var_t; // wildcard import would cause error