"""Ports layer: interfaces (typing.Protocol) that the application needs. Depends on the domain only. """