massive update, probably broken
[dotfiles/.git] / .config / coc / extensions / node_modules / coc-pyright / node_modules / pyright / dist / typeshed-fallback / stubs / Pillow / PIL / ImageColor.pyi
diff --git a/.config/coc/extensions/node_modules/coc-pyright/node_modules/pyright/dist/typeshed-fallback/stubs/Pillow/PIL/ImageColor.pyi b/.config/coc/extensions/node_modules/coc-pyright/node_modules/pyright/dist/typeshed-fallback/stubs/Pillow/PIL/ImageColor.pyi
new file mode 100644 (file)
index 0000000..8e0db52
--- /dev/null
@@ -0,0 +1,10 @@
+from typing import Tuple, Union
+
+_RGB = Union[Tuple[int, int, int], Tuple[int, int, int, int]]
+_Ink = Union[str, int, _RGB]
+_GreyScale = Tuple[int, int]
+
+def getrgb(color: _Ink) -> _RGB: ...
+def getcolor(color: _Ink, mode: str) -> _RGB | _GreyScale: ...
+
+colormap: dict[str, str]