 ...
    def set_option_negotiation_callback(self, callback: Optional[Callable[[socket.socket, bytes, bytes], Any]]) -> None: ...
    def process_rawq(self) -> None: ...
    def rawq_getchar(self) -> bytes: ...
    def fill_rawq(self) -> None: ...
    def sock_avail(self) -> bool: ...
    def interact(self) -> None: ...
    def mt_interact(self) -> None: ...
    def listener(self) -> None: ...
    def expect(
        self, list: Sequence[Union[Pattern[bytes], bytes]], timeout: Optional[int] = ...
    ) -> Tuple[int, Optional[Match[bytes]], bytes]: ...
    if sys.version_info >= (3, 6):
        def __enter__(self) -> Telnet: ...
        def __exit__(self, type: Any, value: Any, traceback: Any) -> None: ...
PK