Spherically symmetric models for charged radiating stars and voids: Theoretical approach