Given a richtext TextValue from the editor, it returns a plain text string. It is just an alias of Slate Plain.serialize. See Plain.
TextValue
Plain.serialize