def METHOD_NAME() -> None:
    assert isinstance(output, Output)
    renderer_print_formatted_text(
        output,
        fragments,
        _create_merged_style(
            style, include_default_pygments_style=include_default_pygments_style
        ),
        color_depth=color_depth,
        style_transformation=style_transformation,
    )
    # Flush the output stream.
    if flush:
        output.flush()