I saw from another comment, @aaronsheldon, that you don’t think Bubble is strongly-typed. But it is.

In plugins, to use an output (and make its type dynamic)m we use the “App Type” editor selection type, like so:

And now, in setting up an Exposed State (what I call an “output” because it’s easier to say/type/and understand), we can say:

See?