code: def create(
      version: VersionOpts = "latest",
      outdir: OutdirOpts = DEFAULT_OUTPUT_DIR,
      engine: EngineOpts = Engine.Docker,
      dryrun: DryrunOpts = False,
  ) -> None:
      """Create an offline deployment bundle for Syft."""
  
      # Validate Syft version. Fails if version is not valid.
      ver = validate_version(version)
  
      # Prepare temp paths
      out_path = prepare_output_dir(outdir)
      temp_path = prepare_tmp_dir(out_path)
      archive_path = Path(temp_path, "images.tar")
  
      # prepare output paths
      bundle_path = Path(
          out_path, f"syft-{ver.release_tag}-{engine.value}.tar"
      )
  
      # Prepare container engine & images
      engine_sdk = get_container_engine(engine, dryrun=dryrun)
      image_tags = get_syft_images(ver)
  
      # Begin bundling
      info(
          f"Creating Syft {ver.release_tag} {engine} bundle at '{bundle_path}'"
      )
  
      info("\nPulling images...")
      pull_images(engine_sdk, image_tags, dryrun=dryrun)
  
      info("\nCreating image archive...")
      archive_images(
          engine_sdk, image_tags, archive_path, dryrun=dryrun
      )
  
      info(f"\nDownloading {engine.value} config...")
      config_path = get_engine_config(
          engine, ver, temp_path, dryrun=dryrun
      )
  
      info("\nCreating final bundle...")
      create_syft_bundle(
          bundle_path, archive_path, config_path, dryrun=dryrun
      )
  
      info("\nCleaning up...")
      cleanup_dir(temp_path)
  
      success("\nDone!")
  
imports: from enum import Enum
  from pathlib import Path
  from shutil import rmtree
  import tarfile
  from typing import List
  from typer import Exit
  from typer import Option
  from typing_extensions import Annotated
  from ..core.console import debug
  from ..core.console import error
  from ..core.console import info
  from ..core.console import success
  from ..core.container_engine import ContainerEngine
  from ..core.container_engine import ContainerEngineError
  from ..core.container_engine import Docker
  from ..core.container_engine import Podman
  from ..core.syft_repo import SyftRepo
  from ..core.syft_version import InvalidVersion
  from ..core.syft_version import SyftVersion
label_desc: Use image node_id 1 for calling a global function with example usage: create(version, outdir, engine, dryrun) without return types