from .const import DEFAULT_PORT as DEFAULT_PORT
from .errors import TemporaryFailure as TemporaryFailure, ValidationFailure as ValidationFailure
from .helper import get_cert_expiry_timestamp as get_cert_expiry_timestamp
from _typeshed import Incomplete
from datetime import datetime
from homeassistant.core import HomeAssistant as HomeAssistant
from homeassistant.helpers.update_coordinator import DataUpdateCoordinator as DataUpdateCoordinator, UpdateFailed as UpdateFailed

_LOGGER: Incomplete

class CertExpiryDataUpdateCoordinator(DataUpdateCoordinator[datetime | None]):
    host: Incomplete
    port: Incomplete
    cert_error: Incomplete
    is_cert_valid: bool
    def __init__(self, hass: HomeAssistant, host: str, port: int) -> None: ...
    async def _async_update_data(self) -> datetime | None: ...
