from . import broadcast as broadcast, polling as polling, webhooks as webhooks
from .bot import TelegramBotConfigEntry as TelegramBotConfigEntry, TelegramNotificationService as TelegramNotificationService, initialize_bot as initialize_bot
from .const import ATTR_ALLOWS_MULTIPLE_ANSWERS as ATTR_ALLOWS_MULTIPLE_ANSWERS, ATTR_AUTHENTICATION as ATTR_AUTHENTICATION, ATTR_CALLBACK_QUERY_ID as ATTR_CALLBACK_QUERY_ID, ATTR_CAPTION as ATTR_CAPTION, ATTR_CHAT_ACTION as ATTR_CHAT_ACTION, ATTR_CHAT_ID as ATTR_CHAT_ID, ATTR_DIRECTORY_PATH as ATTR_DIRECTORY_PATH, ATTR_DISABLE_NOTIF as ATTR_DISABLE_NOTIF, ATTR_DISABLE_WEB_PREV as ATTR_DISABLE_WEB_PREV, ATTR_FILE as ATTR_FILE, ATTR_FILE_ID as ATTR_FILE_ID, ATTR_FILE_NAME as ATTR_FILE_NAME, ATTR_IS_ANONYMOUS as ATTR_IS_ANONYMOUS, ATTR_IS_BIG as ATTR_IS_BIG, ATTR_KEYBOARD as ATTR_KEYBOARD, ATTR_KEYBOARD_INLINE as ATTR_KEYBOARD_INLINE, ATTR_MEDIA_TYPE as ATTR_MEDIA_TYPE, ATTR_MESSAGE as ATTR_MESSAGE, ATTR_MESSAGEID as ATTR_MESSAGEID, ATTR_MESSAGE_TAG as ATTR_MESSAGE_TAG, ATTR_MESSAGE_THREAD_ID as ATTR_MESSAGE_THREAD_ID, ATTR_ONE_TIME_KEYBOARD as ATTR_ONE_TIME_KEYBOARD, ATTR_OPEN_PERIOD as ATTR_OPEN_PERIOD, ATTR_OPTIONS as ATTR_OPTIONS, ATTR_PARSER as ATTR_PARSER, ATTR_PASSWORD as ATTR_PASSWORD, ATTR_QUESTION as ATTR_QUESTION, ATTR_REACTION as ATTR_REACTION, ATTR_REPLY_TO_MSGID as ATTR_REPLY_TO_MSGID, ATTR_RESIZE_KEYBOARD as ATTR_RESIZE_KEYBOARD, ATTR_SHOW_ALERT as ATTR_SHOW_ALERT, ATTR_STICKER_ID as ATTR_STICKER_ID, ATTR_TARGET as ATTR_TARGET, ATTR_TIMEOUT as ATTR_TIMEOUT, ATTR_TITLE as ATTR_TITLE, ATTR_URL as ATTR_URL, ATTR_USERNAME as ATTR_USERNAME, ATTR_VERIFY_SSL as ATTR_VERIFY_SSL, CHAT_ACTION_CHOOSE_STICKER as CHAT_ACTION_CHOOSE_STICKER, CHAT_ACTION_FIND_LOCATION as CHAT_ACTION_FIND_LOCATION, CHAT_ACTION_RECORD_VIDEO as CHAT_ACTION_RECORD_VIDEO, CHAT_ACTION_RECORD_VIDEO_NOTE as CHAT_ACTION_RECORD_VIDEO_NOTE, CHAT_ACTION_RECORD_VOICE as CHAT_ACTION_RECORD_VOICE, CHAT_ACTION_TYPING as CHAT_ACTION_TYPING, CHAT_ACTION_UPLOAD_DOCUMENT as CHAT_ACTION_UPLOAD_DOCUMENT, CHAT_ACTION_UPLOAD_PHOTO as CHAT_ACTION_UPLOAD_PHOTO, CHAT_ACTION_UPLOAD_VIDEO as CHAT_ACTION_UPLOAD_VIDEO, CHAT_ACTION_UPLOAD_VIDEO_NOTE as CHAT_ACTION_UPLOAD_VIDEO_NOTE, CHAT_ACTION_UPLOAD_VOICE as CHAT_ACTION_UPLOAD_VOICE, CONF_API_ENDPOINT as CONF_API_ENDPOINT, CONF_CONFIG_ENTRY_ID as CONF_CONFIG_ENTRY_ID, DEFAULT_API_ENDPOINT as DEFAULT_API_ENDPOINT, DOMAIN as DOMAIN, PARSER_HTML as PARSER_HTML, PARSER_MD as PARSER_MD, PARSER_MD2 as PARSER_MD2, PARSER_PLAIN_TEXT as PARSER_PLAIN_TEXT, PLATFORM_BROADCAST as PLATFORM_BROADCAST, PLATFORM_POLLING as PLATFORM_POLLING, PLATFORM_WEBHOOKS as PLATFORM_WEBHOOKS, SERVICE_ANSWER_CALLBACK_QUERY as SERVICE_ANSWER_CALLBACK_QUERY, SERVICE_DELETE_MESSAGE as SERVICE_DELETE_MESSAGE, SERVICE_DOWNLOAD_FILE as SERVICE_DOWNLOAD_FILE, SERVICE_EDIT_CAPTION as SERVICE_EDIT_CAPTION, SERVICE_EDIT_MESSAGE as SERVICE_EDIT_MESSAGE, SERVICE_EDIT_MESSAGE_MEDIA as SERVICE_EDIT_MESSAGE_MEDIA, SERVICE_EDIT_REPLYMARKUP as SERVICE_EDIT_REPLYMARKUP, SERVICE_LEAVE_CHAT as SERVICE_LEAVE_CHAT, SERVICE_SEND_ANIMATION as SERVICE_SEND_ANIMATION, SERVICE_SEND_CHAT_ACTION as SERVICE_SEND_CHAT_ACTION, SERVICE_SEND_DOCUMENT as SERVICE_SEND_DOCUMENT, SERVICE_SEND_LOCATION as SERVICE_SEND_LOCATION, SERVICE_SEND_MESSAGE as SERVICE_SEND_MESSAGE, SERVICE_SEND_PHOTO as SERVICE_SEND_PHOTO, SERVICE_SEND_POLL as SERVICE_SEND_POLL, SERVICE_SEND_STICKER as SERVICE_SEND_STICKER, SERVICE_SEND_VIDEO as SERVICE_SEND_VIDEO, SERVICE_SEND_VOICE as SERVICE_SEND_VOICE, SERVICE_SET_MESSAGE_REACTION as SERVICE_SET_MESSAGE_REACTION
from _typeshed import Incomplete
from homeassistant.const import ATTR_DOMAIN as ATTR_DOMAIN, ATTR_ENTITY_ID as ATTR_ENTITY_ID, ATTR_LATITUDE as ATTR_LATITUDE, ATTR_LONGITUDE as ATTR_LONGITUDE, ATTR_SERVICE as ATTR_SERVICE, CONF_PLATFORM as CONF_PLATFORM, Platform as Platform
from homeassistant.core import HomeAssistant as HomeAssistant, ServiceCall as ServiceCall, ServiceResponse as ServiceResponse, SupportsResponse as SupportsResponse
from homeassistant.exceptions import ConfigEntryAuthFailed as ConfigEntryAuthFailed, ConfigEntryNotReady as ConfigEntryNotReady, HomeAssistantError as HomeAssistantError, ServiceValidationError as ServiceValidationError
from homeassistant.helpers.typing import ConfigType as ConfigType, VolSchemaType as VolSchemaType
from telegram import Bot as Bot
from types import ModuleType

_LOGGER: Incomplete
CONFIG_SCHEMA: Incomplete
ATTR_PARSER_SCHEMA: Incomplete
BASE_SERVICE_SCHEMA: Incomplete
SERVICE_SCHEMA_SEND_MESSAGE: Incomplete
SERVICE_SCHEMA_SEND_CHAT_ACTION: Incomplete
SERVICE_SCHEMA_BASE_SEND_FILE: Incomplete
SERVICE_SCHEMA_SEND_FILE: Incomplete
SERVICE_SCHEMA_SEND_STICKER: Incomplete
SERVICE_SCHEMA_SEND_LOCATION: Incomplete
SERVICE_SCHEMA_SEND_POLL: Incomplete
SERVICE_SCHEMA_EDIT_MESSAGE: Incomplete
SERVICE_SCHEMA_EDIT_MESSAGE_MEDIA: Incomplete
SERVICE_SCHEMA_EDIT_CAPTION: Incomplete
SERVICE_SCHEMA_EDIT_REPLYMARKUP: Incomplete
SERVICE_SCHEMA_ANSWER_CALLBACK_QUERY: Incomplete
SERVICE_SCHEMA_DELETE_MESSAGE: Incomplete
SERVICE_SCHEMA_LEAVE_CHAT: Incomplete
SERVICE_SCHEMA_SET_MESSAGE_REACTION: Incomplete
SERVICE_SCHEMA_DOWNLOAD_FILE: Incomplete
SERVICE_MAP: dict[str, VolSchemaType]
MODULES: dict[str, ModuleType]
PLATFORMS: list[Platform]

async def async_setup(hass: HomeAssistant, config: ConfigType) -> bool: ...
def _deprecate_timeout(hass: HomeAssistant, service: ServiceCall) -> None: ...
async def async_migrate_entry(hass: HomeAssistant, config_entry: TelegramBotConfigEntry) -> bool: ...
async def async_setup_entry(hass: HomeAssistant, entry: TelegramBotConfigEntry) -> bool: ...
async def update_listener(hass: HomeAssistant, entry: TelegramBotConfigEntry) -> None: ...
async def async_unload_entry(hass: HomeAssistant, entry: TelegramBotConfigEntry) -> bool: ...
