TextInput: string | Run | readonly TextInput[]

Anything a builder accepts as inline content: a string, a Run, or a nested array of those. Mark helpers return arrays, so they compose as arguments to the text builders.

const parts: TextInput = ['Ruled by ', bold('Princess Bubblegum')]