from abc import ABC, abstractmethod

from sator_core.models.vulnerability.references import VulnerabilityReferences


class VulnerabilityReferencesResolutionPort(ABC):

    @abstractmethod
    def search_vulnerability_references(self, vulnerability_id: str) -> VulnerabilityReferences | None:
        raise NotImplementedError
