"""
This type stub file was generated by pyright.
"""

"""
Client for the driver, which holds information about the logged in user
and actually makes the requests to the mattermost server
"""
log = ...
class Client:
	def __init__(self, options) -> None:
		...
	
	@staticmethod
	def activate_verbose_logging(level=...): # -> None:
		...
	
	@property
	def userid(self): # -> str:
		"""
		:return: The user id of the logged in user
		"""
		...
	
	@userid.setter
	def userid(self, user_id): # -> None:
		...
	
	@property
	def username(self): # -> str:
		"""
		:return: The username of the logged in user. If none, returns an emtpy string.
		"""
		...
	
	@property
	def request_timeout(self):
		"""
		:return: The configured timeout for the requests
		"""
		...
	
	@username.setter
	def username(self, username): # -> None:
		...
	
	@property
	def url(self): # -> str:
		...
	
	@property
	def cookies(self): # -> None:
		"""
		:return: The cookie given on login
		"""
		...
	
	@cookies.setter
	def cookies(self, cookies): # -> None:
		...
	
	@property
	def token(self): # -> str:
		"""
		:return: The token for the login
		"""
		...
	
	@token.setter
	def token(self, t): # -> None:
		...
	
	def auth_header(self): # -> dict[Any, Any] | dict[str, str] | None:
		...
	
	def make_request(self, method, endpoint, options=..., params=..., data=..., files=..., basepath=...): # -> Response:
		...
	
	def get(self, endpoint, options=..., params=...): # -> Response | Any:
		...
	
	def post(self, endpoint, options=..., params=..., data=..., files=...): # -> Any:
		...
	
	def put(self, endpoint, options=..., params=..., data=...): # -> Any:
		...
	
	def delete(self, endpoint, options=..., params=..., data=...): # -> Any:
		...
	


