import Regress from 'gi://Regress'; let foo_interface = new Regress.FooInterface();
FooInterface requires GObject.Object
FooInterface is implemented by FooBuffer, FooObject and FooSubobject