StructTreeNode: { children: (StructTreeNode | StructTreeContent)[]; role: "Root" | string }

Structure tree node. The root node will have a role "Root".

Type declaration