code: def cleanup_exp(executor: TempDirExecutor, infofile: str) -> None:
      """Cleanup after an experiment.
  
      Arguments:
          tmp_dir: Temp directory to be removed.
          entry_dict: Serialized QueueEntry for this experiment.
      """
      executor.cleanup(infofile)
  
file_path: dvc/dvc/repo/experiments/queue/tasks.py
imports: from typing import TYPE_CHECKING, Any, Dict, List, Optional
  from celery import shared_task
  from celery.utils.log import get_task_logger
  from dvc.repo.experiments.executor.base import ExecutorInfo
  from dvc.repo.experiments.executor.local import TempDirExecutor
  from .base import BaseStashQueue, QueueEntry
label_desc: Use image node_id 3 for calling a global function with example usage: cleanup_exp(executor, infofile) without return types