"""Gitea service provider implementation."""

from notify_bridge_core.providers.base import ServiceProviderType
from notify_bridge_core.templates.variables import registry

from .client import GiteaClient, GiteaApiError
from .event_parser import parse_webhook
from .provider import GiteaServiceProvider, GITEA_VARIABLES

# Register Gitea variables in the global registry
registry.register_provider_variables(ServiceProviderType.GITEA, GITEA_VARIABLES)

__all__ = [
    "GiteaClient",
    "GiteaApiError",
    "GiteaServiceProvider",
    "GITEA_VARIABLES",
    "parse_webhook",
]
