massive update, probably broken
[dotfiles/.git] / .config / coc / extensions / node_modules / coc-pyright / node_modules / pyright / dist / typeshed-fallback / stdlib / sndhdr.pyi
diff --git a/.config/coc/extensions/node_modules/coc-pyright/node_modules/pyright/dist/typeshed-fallback/stdlib/sndhdr.pyi b/.config/coc/extensions/node_modules/coc-pyright/node_modules/pyright/dist/typeshed-fallback/stdlib/sndhdr.pyi
new file mode 100644 (file)
index 0000000..84d6441
--- /dev/null
@@ -0,0 +1,12 @@
+from _typeshed import StrOrBytesPath
+from typing import NamedTuple
+
+class SndHeaders(NamedTuple):
+    filetype: str
+    framerate: int
+    nchannels: int
+    nframes: int
+    sampwidth: int | str
+
+def what(filename: StrOrBytesPath) -> SndHeaders | None: ...
+def whathdr(filename: StrOrBytesPath) -> SndHeaders | None: ...