Allow extracting spacing from ResolvedBox.
Make paragraph direction explicit in tests.
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.
Test layout with mixed font sizes.
Deduplicate pagination code.
Implement Rich pagination.
Qualify Plain pagination.
Limit internal imports in interface tests.
Make paginateAll generic.
Implement piecewise paragraph construction.
Refactor pagination to allow rich layout.