ComponentSetNode.componentProperties

What is the best way to access full list of Component’s Properties?
I can see ComponentSetNode.componentProperties. But it is not in documentation, nor in @figma/plugin-typings and I wonder can it be some private or temporary API I should not rely on?