I wanted to create a custom decoration class extending MarkDecoration, to associate extra information with the decoration. My use case is that I want to add some notes with the decoration, and thought it would be cleaner to use a custom class instead of the spec attribute of MarkDecoration.
However MarkDecoration is not exported by the library, which is probably by design. But wanted to confirm whether this is the case.