Hide the implicit class created by local functions from my library's users


I am making a Kotlin library that will be used by Java projects. In my library I have a helper file, lets name it Utils.kt. I have an internal fun doStuff() local function in there.

When importing the library in a Java project, there is an UtilsKt class that is accessible and appears in the auto-complete. Is there a way to make that class internal too?

I have another problem with that though. My end goal would be to hide completely this class and all internal stuff from the user of my library, but Intellij seems to autocomplete even those, even though they are not accessible. Am I going the wrong way here? Is there something different than internal to achieve that goal, or maybe just a convention?