"""Various helpers and utilities that don't belong anywhere else."""

from typing import Dict, Generic, TypeVar

KeyType = TypeVar('KeyType')
ValueType = TypeVar('ValueType')


class GenericMonoDict(Dict[KeyType, ValueType]):
    """A dict with specific key and value types."""

    def __getitem__(self, key: KeyType) -> ValueType: ...
[((5, 10, 5, 28), 'typing.TypeVar', 'TypeVar', ({(5, 18, 5, 27): '"""KeyType"""'}, {}), "('KeyType')", False, 'from typing import Dict, Generic, TypeVar\n'), ((6, 12, 6, 32), 'typing.TypeVar', 'TypeVar', ({(6, 20, 6, 31): '"""ValueType"""'}, {}), "('ValueType')", False, 'from typing import Dict, Generic, TypeVar\n')]