Typically, we don't expose wl_output objects as wl_resource objects in public API. Instead, we use the OutputInterface class for that purpose.