Pulsational mass loss
The progenitors of hydrogen-poor SLSNe are massive (≳ 30 M☉), low-metallicity, rapidly rotating stars. Many of them undergo pulsational pair-instability or violent late-stage instabilities that eject shells of stellar material in the years leading up to explosion.
Those shells become the circumstellar medium (CSM) that will later be shocked by the supernova ejecta — turning kinetic energy into radiation.