state data types on public API methods explicitly

Yesterday I almost broke the API while implementing #369.
With explicitly given data types such refactorings can't break the API.

Further with the types in place also the leakage of internal types is visible.
Methods `GetLockFile`, `FindOutdated` and `ConvertFromNuget` are currently affected.