1 from typing import Container, List, Union, TypeVar, Type, Any, Optional, Tuple
\r
2 from . import _ValidatorType
\r
6 def instance_of(type: Union[Tuple[Type[_T], ...], Type[_T]]) -> _ValidatorType[_T]: ...
\r
7 def provides(interface: Any) -> _ValidatorType[Any]: ...
\r
8 def optional(validator: Union[_ValidatorType[_T], List[_ValidatorType[_T]]]) -> _ValidatorType[Optional[_T]]: ...
\r
9 def in_(options: Container[_T]) -> _ValidatorType[_T]: ...
\r
10 def and_(*validators: _ValidatorType[_T]) -> _ValidatorType[_T]: ...
\r