| 1 | from _typeshed import StrOrBytesPath |
| 2 | from typing import NamedTuple |
| 3 | |
| 4 | __all__ = ["what", "whathdr"] |
| 5 | |
| 6 | class SndHeaders(NamedTuple): |
| 7 | filetype: str |
| 8 | framerate: int |
| 9 | nchannels: int |
| 10 | nframes: int |
| 11 | sampwidth: int | str |
| 12 | |
| 13 | def what(filename: StrOrBytesPath) -> SndHeaders | None: ... |
| 14 | def whathdr(filename: StrOrBytesPath) -> SndHeaders | None: ... |