Allow extracting ResolvedBox from WithSpan.
Implement set operations on [ResolvedBox].
Allow extracting spacing from ResolvedBox.
Store direction in ResolvedBox.
Add required textDirection to TextOptions.
Link ResolvedSpan to boxes.
Use ResolvedBox when flattening trees.
Improve code readability with type alias.
Separate WithSpan for sharing with other modules.
Deduplicate pagination code.
Implement Rich pagination.
Qualify Plain pagination.
Make paginateAll generic.
Implement piecewise paragraph construction.
Refactor pagination to allow rich layout.
Convert plain layout to a wrapper over rich layout.
Add basic support for Rich layout.
Embed TextOptions in ResolvedSpan.
SpanOptions are relegated to the legacy Plain interface, and
TextOptions are now being used internally.
Define tree for structuring paragraph content.