# GENERATED CODE - DO NOT MODIFY
from __future__ import annotations
import chitose
import typing

def get_moderation_reports(service: str, headers: dict[str, str], subject: typing.Optional[str]=None, resolved: typing.Optional[str]=None, limit: typing.Optional[int]=None, cursor: typing.Optional[str]=None):
    """List moderation reports related to a subject."""
    return chitose.xrpc.call('com.atproto.admin.getModerationReports', [('subject', subject), ('resolved', resolved), ('limit', limit), ('cursor', cursor)], None, service, {} | headers)