






import warnings

from ...utils import logging
from .image_processing_levit import LevitImageProcessor


lowerCamelCase					    =	logging.get_logger(__name__)

class        snake_case_				(							lowercase_   ):







   """simple docstring"""



   def __init__(     self:						int ,							*snake_case__:						Optional[int] ,							**snake_case__:						Optional[int]						)	->		None:


       """simple docstring"""



       warnings.warn(
           'The class LevitFeatureExtractor is deprecated and will be removed in version 5 of Transformers. Please'
           ' use LevitImageProcessor instead.' ,							snake_case__ ,							)
       super().__init__(*snake_case__ ,							**snake_case__						)








from typing import TYPE_CHECKING

from ...utils import OptionalDependencyNotAvailable, _LazyModule, is_sentencepiece_available, is_tokenizers_available


lowerCamelCase					    =	{}

try:
   if not is_sentencepiece_available():
      raise OptionalDependencyNotAvailable()
except OptionalDependencyNotAvailable:
   pass
else:
   lowerCamelCase					    =	['''MBart50Tokenizer''']

try:
   if not is_tokenizers_available():
      raise OptionalDependencyNotAvailable()
except OptionalDependencyNotAvailable:
   pass
else:
   lowerCamelCase					    =	['''MBart50TokenizerFast''']


if TYPE_CHECKING:
   try:
      if not is_sentencepiece_available():
         raise OptionalDependencyNotAvailable()
   except OptionalDependencyNotAvailable:
      pass
   else:
      from .tokenization_mbartaa import MBartaaTokenizer

   try:
      if not is_tokenizers_available():
         raise OptionalDependencyNotAvailable()
   except OptionalDependencyNotAvailable:
      pass
   else:
      from .tokenization_mbartaa_fast import MBartaaTokenizerFast

else:
   import sys

   lowerCamelCase					    =	_LazyModule(__name__, globals()['''__file__'''], _import_structure, module_spec=__spec__)
