Possible to deprecate something for consumers of my package **only** - ie not get compile warnings in my unit tests of said package?

Not afaik, but would be nice.