from typing import Dict, List, Optional, Set, Tuple class FSMInfo: initial: int finals: Set[int] transitions: Dict[Tuple[int, int], int] alphabet_anything_value: int alphabet_symbol_mapping: Dict[str, int] def __init__( self, initial: int, finals: Set[int], transitions: Dict[Tuple[int, int], int], alphabet_anything_value: int, alphabet_symbol_mapping: Dict[str, int], ) -> None: ... def build_regex_from_schema( json: str, whitespace_pattern: Optional[str] = None ) -> str: ... def to_regex(json: Dict, whitespace_pattern: Optional[str] = None) -> str: ... def _walk_fsm( fsm_transitions: Dict[Tuple[int, int], int], fsm_initial: int, fsm_finals: Set[int], token_transition_keys: List[int], start_state: int, full_match: bool, ) -> List[int]: ... def state_scan_tokens( fsm_transitions: Dict[Tuple[int, int], int], fsm_initial: int, fsm_finals: Set[int], vocabulary: List[Tuple[str, List[int]]], vocabulary_transition_keys: List[List[int]], start_state: int, ) -> Set[Tuple[int, int]]: ... def get_token_transition_keys( alphabet_symbol_mapping: Dict[str, int], alphabet_anything_value: int, token_str: str, ) -> List[int]: ... def get_vocabulary_transition_keys( alphabet_symbol_mapping: Dict[str, int], alphabet_anything_value: int, vocabulary: List[Tuple[str, List[int]]], frozen_tokens: Set[str], ) -> List[List[int]]: ... def create_fsm_index_end_to_end( fsm_info: FSMInfo, vocabulary: List[Tuple[str, List[int]]], frozen_tokens: frozenset[str], ) -> Dict[int, Dict[int, int]]: ... BOOLEAN: str DATE: str DATE_TIME: str INTEGER: str NULL: str NUMBER: str STRING: str STRING_INNER: str TIME: str UUID: str WHITESPACE: str