# parse.pyi from typing import Any, Mapping, Optional, Sequence, Tuple, Union class Result: def __init__( self, fixed: Sequence[str], named: Mapping[str, str], spans: Mapping[int, Tuple[int, int]], ) -> None: ... def __getitem__(self, item: Union[int, str]) -> str: ... def __repr__(self) -> str: ... def parse( format: str, string: str, evaluate_result: bool = ..., case_sensitive: bool = ..., ) -> Optional[Result]: ...