from abc import ABC, abstractmethod class BaseInboundHandler(ABC): @abstractmethod def verify(self, payload: dict, headers: dict, secret: str) -> bool: ... @abstractmethod def process(self, event_type: str, payload: dict) -> dict: ...