from .api import MinecraftServer as MinecraftServer, MinecraftServerAddressError as MinecraftServerAddressError, MinecraftServerType as MinecraftServerType
from .const import DOMAIN as DOMAIN, KEY_LATENCY as KEY_LATENCY, KEY_MOTD as KEY_MOTD
from .coordinator import MinecraftServerConfigEntry as MinecraftServerConfigEntry, MinecraftServerCoordinator as MinecraftServerCoordinator
from _typeshed import Incomplete
from homeassistant.const import CONF_ADDRESS as CONF_ADDRESS, CONF_HOST as CONF_HOST, CONF_PORT as CONF_PORT, Platform as Platform
from homeassistant.core import HomeAssistant as HomeAssistant, callback as callback
from homeassistant.helpers import entity_registry as er
from typing import Any

PLATFORMS: Incomplete
_LOGGER: Incomplete

def prevent_dnspython_blocking_operations() -> None: ...
async def async_setup_entry(hass: HomeAssistant, entry: MinecraftServerConfigEntry) -> bool: ...
async def async_unload_entry(hass: HomeAssistant, config_entry: MinecraftServerConfigEntry) -> bool: ...
async def async_migrate_entry(hass: HomeAssistant, config_entry: MinecraftServerConfigEntry) -> bool: ...
async def _async_migrate_device_identifiers(hass: HomeAssistant, config_entry: MinecraftServerConfigEntry, old_unique_id: str | None) -> None: ...
@callback
def _migrate_entity_unique_id(entity_entry: er.RegistryEntry) -> dict[str, Any]: ...
