import logging
from pathlib import Path
-from typing_extensions import Protocol
-
from nominatim.errors import UsageError
from nominatim.config import Configuration
+from nominatim.typing import Protocol
LOG = logging.getLogger()
warm: bool
check_database: bool
migrate: bool
+ collect_os_info: bool
analyse_indexing: bool
target: Optional[str]
osm_id: Optional[str]