from typing import Union from .client import BaseClient from .config import Config __all__ = ['PROMPT', 'rconcmd'] PROMPT: str def read_host() -> str: ... def read_port() -> int: ... def read_passwd() -> str: ... def get_config(host: str, port: int, passwd: str) -> Config: ... def login(client: BaseClient, passwd: str) -> str: ... def process_input(client: BaseClient, passwd: str, prompt: str) -> bool: ... def rconcmd( client_cls: type[BaseClient], host: str, port: int, passwd: str, *, timeout: Union[float, None] = None, prompt: str = ..., ) -> None: ...