from typing import Protocol

from .domain import AgentRecord, LocationRecord, OfferRecord


class ExportDataGateway(Protocol):
    def get_offer_data(self, offer_id) -> OfferRecord:
        ...

    def get_location_data(self, offer_id) -> LocationRecord:
        ...

    def get_agent_data(self, agent_id) -> AgentRecord:
        ...

    def get_description(self, offer_id) -> str | None:
        ...

    def count_photos(self, offer_id) -> int:
        ...
