      trigger_patch:  :class:`threading.Event`
          An event to indicate that a converter patch should be run
      """
  
      def __init__(self, arguments, sample_size, display, lock, trigger_patch):
          logger.debug("Initializing %s: (arguments: '%s', sample_size: %s, display: %s, lock: %s, "
                       "trigger_patch: %s)", self.__class__.__name__, arguments, sample_size,
                       display, lock, trigger_patch)
          self._sample_size = sample_size
          self._display = display
 
</s> remove     def __init__(self, arguments, available_masks, samples,
                 display, lock, trigger, config_tools, tk_vars):
 </s> add     def __init__(self,
                 arguments: "Namespace",
                 available_masks: List[str],
                 samples: Samples,
                 display: "FacesDisplay",
                 lock: Lock,
                 trigger: Event,
                 config_tools: "ConfigTools",
                 tk_vars: Dict[Literal["refresh", "busy"], tk.BooleanVar]) -> None: </s> remove     def __init__(self, output_size, coverage_ratio, centering, draw_transparent, pre_encode,
                 arguments, configfile=None):
 </s> add     def __init__(self,
                 output_size: int,
                 coverage_ratio: float,
                 centering: "CenteringType",
                 draw_transparent: bool,
                 pre_encode: Optional[Callable[[np.ndarray], List[bytes]]],
                 arguments: "Namespace",
                 configfile: Optional[str] = None) -> None: </s> remove     def __init__(self, in_queue, queue_size, arguments):
 </s> add     def __init__(self, in_queue: "EventQueue", queue_size: int, arguments: "Namespace") -> None: </s> remove     def __init__(self, filename, image, detected_faces=None):
        logger.trace("Initializing %s: (filename: '%s', image shape: %s, detected_faces: %s)",
                     self.__class__.__name__, filename, image.shape, detected_faces)
 </s> add     def __init__(self,
                 filename: str,
                 image: "np.ndarray",
                 detected_faces: Optional[List["DetectedFace"]] = None) -> None:
        logger.trace("Initializing %s: (filename: '%s', image shape: %s, "  # type: ignore
                     "detected_faces: %s)", self.__class__.__name__, filename, image.shape,
                     detected_faces) </s> remove     def __init__(self, alignments, images, arguments):
 </s> add     def __init__(self,
                 alignments: Alignments, images: ImagesLoader, arguments: "Namespace") -> None:
    def __init__(self,
                 arguments: "Namespace",
                 sample_size: int,
                 display: "FacesDisplay",
                 lock: Lock,
                 trigger_patch: Event) -> None:
      trigger_patch:  :class:`threading.Event`
          An event to indicate that a converter patch should be run
      """
  
    def __init__(self,
                 arguments: "Namespace",
                 sample_size: int,
                 display: "FacesDisplay",
                 lock: Lock,
                 trigger_patch: Event) -> None:
          logger.debug("Initializing %s: (arguments: '%s', sample_size: %s, display: %s, lock: %s, "
                       "trigger_patch: %s)", self.__class__.__name__, arguments, sample_size,
                       display, lock, trigger_patch)
          self._sample_size = sample_size
          self._display = display
keep keep keep keep replace keep keep keep keep keep
 Bugfix: convert - Gif Writer
  - Fix non-launch error on Gif Writer
  - convert plugins - linting
  - convert/fs_media/preview/queue_manager - typing
  - Change convert items from dict to Dataclass 
tools/preview/preview.py