code: def _get_vtk_id_type():
      """Return the numpy datatype responding to ``vtk.vtkIdTypeArray``."""
      VTK_ID_TYPE_SIZE = _vtk.vtkIdTypeArray().GetDataTypeSize()
      if VTK_ID_TYPE_SIZE == 4:
          return np.int32
      elif VTK_ID_TYPE_SIZE == 8:
          return np.int64
      return np.int32
  
imports: from __future__ import annotations
  from typing import List, Optional, Sequence, Tuple, Union, cast
  import numpy
  import pyvista
  from .None import _vtk_core
  from ._typing_core import Matrix, NumpyArray, Vector
  from .celltype import CellType
  from .dataset import DataObject
  from .errors import CellSizeError
  from .utilities.cells import ncells_from_cells, numpy_to_idarr
label_desc: Use image node_id 1 for calling a global function with example usage: _get_vtk_id_type() and returns: np, np, np