CEP resizeContent equivalent in UXP

In CEP, we use resizeContent(width, height) to resize the extension panel/content at runtime.

For example:

CSInterface.resizeContent(width, height);

Is there an equivalent API in UXP that allows a plugin to programmatically resize its panel/content at runtime?

I see that UXP supports panel sizing through manifest properties such as minSize, maxSize, and preferredSize, but I could not find an API equivalent to CEP’s resizeContent().

Is runtime panel resizing supported in UXP, particularly for Photoshop?

If yes, could you share the recommended API or an example?

From what I know, it’s not possible.