from typing import Any, IO

version: int

def dump(value: Any, file: IO[Any], version: int = ...) -> None: ...
def load(file: IO[Any]) -> Any: ...
def dumps(value: Any, version: int = ...) -> bytes: ...
def loads(string: bytes) -> Any: ...
