from abc import ABC, abstractmethod


class FaceProvider(ABC):
    @abstractmethod
    def enroll(self, person_id: str, image_b64: str) -> dict:
        raise NotImplementedError

    @abstractmethod
    def verify(self, person_id: str, image_b64: str) -> tuple[bool, float]:
        raise NotImplementedError
