The HighlightRegistry interface of the CSS Custom Highlight API is used to register Highlight objects to be styled using the API.
HighlightRegistry
MDN Reference