in official documentation here: https://docs.github.com/en/rest/collaborators/collaborators?apiVersion=2022-11-28
there is a possibility to add "permission" parameter.
It allows to filter collaborators by the permissions they have on the repository. If not specified, all collaborators will be returned.
Can be one of: pull, triage, push, maintain, admin
Can you add this filter to ListCollaborators endpoint, to ListCollaboratorsOptions struct?