1 from email.charset import Charset
7 s: bytes | str | None = ...,
8 charset: Charset | str | None = ...,
9 maxlinelen: int | None = ...,
10 header_name: str | None = ...,
11 continuation_ws: str = ...,
14 def append(self, s: bytes | str, charset: Charset | str | None = ..., errors: str = ...) -> None: ...
15 def encode(self, splitchars: str = ..., maxlinelen: int | None = ..., linesep: str = ...) -> str: ...
16 def __str__(self) -> str: ...
17 def __eq__(self, other: Any) -> bool: ...
18 def __ne__(self, other: Any) -> bool: ...
20 def decode_header(header: Header | str) -> list[tuple[bytes, str | None]]: ...
22 decoded_seq: list[tuple[bytes, str | None]],
23 maxlinelen: int | None = ...,
24 header_name: str | None = ...,
25 continuation_ws: str = ...,