from dill import *
import io
import typing

class ZfitDillDumpError(Exception): ...
class ZfitDillLoadError(Exception): ...

def dumps(obj: typing.Any, protocol: typing.Any = None, byref: bool = False, fmode: typing.Any = None, recurse: typing.Any = None, *, max_retries: int | bool | None = None, verify: bool | None = None, **kwds) -> bytes: ...
def dump(obj: typing.Any, file: io.IOBase, protocol: typing.Any = None, byref: typing.Any = None, fmode: typing.Any = None, recurse: typing.Any = None, *, max_retries: int | bool | None = None, verify: bool | None = None, **kwds) -> typing.Any: ...
def loads(str: bytes, *, max_retries: int | bool | None = None, **kwds) -> typing.Any: ...
def load(file: io.IOBase, *, max_retries: int | bool | None = None, **kwds) -> typing.Any: ...
