from .const import LOGSEVERITY as LOGSEVERITY
from .helpers import DATA_LOGGER as DATA_LOGGER, LogPersistance as LogPersistance, LogSettingsType as LogSettingsType, LoggerSetting as LoggerSetting, get_logger as get_logger
from homeassistant.components import websocket_api as websocket_api
from homeassistant.components.websocket_api import ActiveConnection as ActiveConnection
from homeassistant.config_entries import DISCOVERY_SOURCES as DISCOVERY_SOURCES
from homeassistant.core import HomeAssistant as HomeAssistant, callback as callback
from homeassistant.loader import IntegrationNotFound as IntegrationNotFound, async_get_integration as async_get_integration
from homeassistant.setup import async_get_loaded_integrations as async_get_loaded_integrations
from typing import Any

@callback
def async_load_websocket_api(hass: HomeAssistant) -> None: ...
@callback
def handle_integration_log_info(hass: HomeAssistant, connection: ActiveConnection, msg: dict[str, Any]) -> None: ...
@websocket_api.async_response
async def handle_integration_log_level(hass: HomeAssistant, connection: ActiveConnection, msg: dict[str, Any]) -> None: ...
@websocket_api.async_response
async def handle_module_log_level(hass: HomeAssistant, connection: ActiveConnection, msg: dict[str, Any]) -> None: ...
