# Stubs for bz2 # TODO: This stub is incomplete def compress(data: bytes, compresslevel: int = ...) -> bytes: ... def decompress(data: bytes) -> bytes: ...