Sealed interface

A Kotlin interface whose direct implementations are restricted to named types in the same package and module.

Used in