Yes, and this applies to the Inliner interface example as well (which is technically defined in TransformUtils). The only thing that is important is the type name of the interface (for the declarePromisedInterface
API), which can be grabbed (e.g. via forward declaration) in ways such that you don’t depend on the library where the interface is defined.
– River