from _typeshed import Incomplete

def Serializer(*args, **kw): ...
def Deserializer(
    file, metadata: Incomplete | None = None, scoped_session: Incomplete | None = None, engine: Incomplete | None = None
): ...
def dumps(obj, protocol=5): ...
def loads(
    data, metadata: Incomplete | None = None, scoped_session: Incomplete | None = None, engine: Incomplete | None = None
): ...
