1 from typing import Any, Tuple
2 from typing_extensions import Literal
4 _ImageFilter = Literal["AUTO", "FlateDecode", "DCTDecode", "JPXDecode"]
6 SUPPORTED_IMAGE_FILTERS: Tuple[_ImageFilter, ...]
8 def load_image(filename): ...
10 # Returned dict could be typed as a TypedDict.
11 def get_img_info(img, image_filter: _ImageFilter = ..., dims: Any | None = ...) -> dict[str, Any]: ...