How to treat washing machine wastewater

What is the composition of washing machine wastewater and how can it be treated at a household level?

I want to set up a greywater treatment unit at home, in this regard I want to know the characteristics of washing machine wastewater. Can someone tell the exact parameters for washing machine wastewater?