from typing import Any

def parsedate_tz(data): ...
def parsedate(data): ...
def mktime_tz(data): ...
def quote(str): ...

class AddrlistClass:
    specials = ...  # type: Any
    pos = ...  # type: Any
    LWS = ...  # type: Any
    CR = ...  # type: Any
    FWS = ...  # type: Any
    atomends = ...  # type: Any
    phraseends = ...  # type: Any
    field = ...  # type: Any
    commentlist = ...  # type: Any
    def __init__(self, field): ...
    def gotonext(self): ...
    def getaddrlist(self): ...
    def getaddress(self): ...
    def getrouteaddr(self): ...
    def getaddrspec(self): ...
    def getdomain(self): ...
    def getdelimited(self, beginchar, endchars, allowcomments=True): ...
    def getquote(self): ...
    def getcomment(self): ...
    def getdomainliteral(self): ...
    def getatom(self, atomends=None): ...
    def getphraselist(self): ...

class AddressList(AddrlistClass):
    addresslist = ...  # type: Any
    def __init__(self, field): ...
    def __len__(self): ...
    def __add__(self, other): ...
    def __iadd__(self, other): ...
    def __sub__(self, other): ...
    def __isub__(self, other): ...
    def __getitem__(self, index): ...
