from collections.abc import Callable class UserInterface: def add_user(self, name: str): pass def add_user_info_listener(self, callback: Callable[[str, str], None]): pass def add_start_listener(self, callback: Callable[[list[str]], None]): pass def announce_recipient(self, name: str, other_info: str): pass