How to Exclude Internal and Developer Traffic in Google Analytics 4?

How to Exclude Internal and Developer Traffic in Google Analytics 4?