| 1 | from typing import Union |
| 2 | from typing_extensions import TypedDict, Unpack, NotRequired |
| 3 | |
| 4 | from .TurboSHAKE128 import TurboSHAKE |
| 5 | |
| 6 | Buffer = Union[bytes, bytearray, memoryview] |
| 7 | |
| 8 | class Args(TypedDict): |
| 9 | domain: NotRequired[int] |
| 10 | data: NotRequired[Buffer] |
| 11 | |
| 12 | def new(**kwargs: Unpack[Args]) -> TurboSHAKE: ... |