code: def _get_irregular_cells(
      cellarr: _vtk.vtkCellArray,
  ) -> Tuple[NumpyArray[int], ...]:
      """Return a tuple of length n_cells of each cell's point indices."""
      cells = _get_connectivity_array(cellarr)
      if len(cells) == 0:
          return ()
  
      offsets = _get_offset_array(cellarr)
      return tuple(np.split(cells, offsets[1:-1]))
  
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 5 for calling a global function with example usage: _get_irregular_cells(cellarr) and returns: tuple, 