ai.internal._media_shape
(internal) Classify a declared output type as `"<form>:<kind>"`, or `""` when it holds no media and the ordinary SAP path applies. `type` values only compare structurally (there is no reflection into a type's shape), so the supported shapes are enumerated. The nullable list/union forms behave exactly like their non-null counterparts once decoded, so they share a form.
Signature
(internal) Classify a declared output type as "<form>:<kind>", or "" when it holds
no media and the ordinary SAP path applies. type values only compare
structurally (there is no reflection into a type's shape), so the supported
shapes are enumerated. The nullable list/union forms behave exactly like
their non-null counterparts once decoded, so they share a form.
Source:<builtin>/ai/ns_internal/media_output.bamlbytes 1018–2059