Type@ember/ui
ui.DialogElement
One element of a dialog's body: text, at most width pixels wide when given; an item, clickable when click is set; or a ui.canvas.
type DialogElement = { kind: "text", text: types.MiniMessage, width: number? } | { kind: "item", item: types.ItemStack | types.ItemType | string, text: types.MiniMessage?, click: ((player: types.Player) -> ())? } | ui.CanvasElement