          The function to execute when a refresh callback is received
      tk_vars: dict
          Global tkinter variables. `Refresh` and `Busy` :class:`tkinter.BooleanVar`
      """
      def __init__(self, parent, available_masks, has_predicted_mask, selected_color,
                   selected_mask_type, config_tools, patch_callback, refresh_callback, tk_vars):
          logger.debug("Initializing %s: (available_masks: %s, has_predicted_mask: %s, "
                       "selected_color: %s, selected_mask_type: %s, patch_callback: %s, "
                       "refresh_callback: %s, tk_vars: %s)",
                       self.__class__.__name__, available_masks, has_predicted_mask, selected_color,
                       selected_mask_type, patch_callback, refresh_callback, tk_vars)
 
</s> remove     def __init__(self, parent, tk_vars):
 </s> add     def __init__(self,
                 parent: ttk.PanedWindow,
                 tk_vars: Dict[Literal["refresh", "busy"], tk.BooleanVar]) -> None: </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, size, padding, tk_vars):
        logger.trace("Initializing %s: (size: %s, padding: %s, tk_vars: %s)",
 </s> add     def __init__(self,
                 size: int,
                 padding: int,
                 tk_vars: Dict[Literal["refresh", "busy"], tk.BooleanVar]) -> None:
        logger.trace("Initializing %s: (size: %s, padding: %s, tk_vars: %s)",  # type: ignore </s> remove     def _build_frame(self, defaults, refresh_callback, patch_callback,
                     available_masks, has_predicted_mask):
 </s> add     def _build_frame(self,
                     defaults: Dict[str, Any],
                     refresh_callback: Callable[[], None],
                     patch_callback: Callable[[], None],
                     available_masks: List[str],
                     has_predicted_mask: bool) -> ttk.Progressbar: </s> remove     def __init__(self, parent, config_tools, patch_callback):
 </s> add     def __init__(self,
                 parent: ttk.Frame,
                 config_tools: ConfigTools,
                 patch_callback: Callable[[], None]) -> None:
    def __init__(self,
                 parent: ttk.Frame,
                 available_masks: List[str],
                 has_predicted_mask: bool,
                 selected_color: str,
                 selected_mask_type: str,
                 config_tools: ConfigTools,
                 patch_callback: Callable[[], None],
                 refresh_callback: Callable[[], None],
                 tk_vars: Dict[Literal["refresh", "busy"], tk.BooleanVar]) -> None:
          The function to execute when a refresh callback is received
      tk_vars: dict
          Global tkinter variables. `Refresh` and `Busy` :class:`tkinter.BooleanVar`
      """
    def __init__(self,
                 parent: ttk.Frame,
                 available_masks: List[str],
                 has_predicted_mask: bool,
                 selected_color: str,
                 selected_mask_type: str,
                 config_tools: ConfigTools,
                 patch_callback: Callable[[], None],
                 refresh_callback: Callable[[], None],
                 tk_vars: Dict[Literal["refresh", "busy"], tk.BooleanVar]) -> None:
    def __init__(self,
                 parent: ttk.Frame,
                 available_masks: List[str],
                 has_predicted_mask: bool,
                 selected_color: str,
                 selected_mask_type: str,
                 config_tools: ConfigTools,
                 patch_callback: Callable[[], None],
                 refresh_callback: Callable[[], None],
                 tk_vars: Dict[Literal["refresh", "busy"], tk.BooleanVar]) -> None:
          logger.debug("Initializing %s: (available_masks: %s, has_predicted_mask: %s, "
                       "selected_color: %s, selected_mask_type: %s, patch_callback: %s, "
                       "refresh_callback: %s, tk_vars: %s)",
                       self.__class__.__name__, available_masks, has_predicted_mask, selected_color,
                       selected_mask_type, patch_callback, refresh_callback, tk_vars)
keep keep keep keep replace 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