from .const import ATTR_CONFIG_ENTRY as ATTR_CONFIG_ENTRY, ATTR_TXT as ATTR_TXT, DOMAIN as DOMAIN, SERVICE_SET_TXT as SERVICE_SET_TXT
from .coordinator import DuckDnsConfigEntry as DuckDnsConfigEntry
from .helpers import update_duckdns as update_duckdns
from _typeshed import Incomplete
from homeassistant.const import CONF_ACCESS_TOKEN as CONF_ACCESS_TOKEN, CONF_DOMAIN as CONF_DOMAIN
from homeassistant.core import HomeAssistant as HomeAssistant, ServiceCall as ServiceCall, callback as callback
from homeassistant.exceptions import HomeAssistantError as HomeAssistantError, ServiceValidationError as ServiceValidationError
from homeassistant.helpers.aiohttp_client import async_get_clientsession as async_get_clientsession
from homeassistant.helpers.selector import ConfigEntrySelector as ConfigEntrySelector

SERVICE_TXT_SCHEMA: Incomplete

@callback
def async_setup_services(hass: HomeAssistant) -> None: ...
def get_config_entry(hass: HomeAssistant, entry_id: str | None = None) -> DuckDnsConfigEntry: ...
async def update_domain_service(call: ServiceCall) -> None: ...
