from _typeshed import Incomplete

class JsonWebSignature:
    REGISTERED_HEADER_PARAMETER_NAMES: Incomplete
    ALGORITHMS_REGISTRY: Incomplete
    def __init__(self, algorithms: Incomplete | None = None, private_headers: Incomplete | None = None) -> None: ...
    @classmethod
    def register_algorithm(cls, algorithm) -> None: ...
    def serialize_compact(self, protected, payload, key): ...
    def deserialize_compact(self, s, key, decode: Incomplete | None = None): ...
    def serialize_json(self, header_obj, payload, key): ...
    def deserialize_json(self, obj, key, decode: Incomplete | None = None): ...
    def serialize(self, header, payload, key): ...
    def deserialize(self, s, key, decode: Incomplete | None = None): ...
