1from typing import Callable, Optional, TypeVar, overload 2 3from . import _ConverterType 4 5 6_T = TypeVar("_T") 7 8def pipe(*validators: _ConverterType) -> _ConverterType: ... 9def optional(converter: _ConverterType) -> _ConverterType: ... 10@overload 11def default_if_none(default: _T) -> _ConverterType: ... 12@overload 13def default_if_none(*, factory: Callable[[], _T]) -> _ConverterType: ... 14