def METHOD_NAME(self) -> dict[str, t.Any]:
    """Return timeout details as a dictionary suitable for JSON serialization."""
    return dict(
        deadline=self.deadline.strftime(self._DEADLINE_FORMAT),
        duration=self.duration,
    )