code: def _get_offset_array(cellarr: _vtk.vtkCellArray) -> np.ndarray:
      """Return the array used to store cell offsets."""
      return _vtk.vtk_to_numpy(cellarr.GetOffsetsArray())
  
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 3 for calling a global function with example usage: _get_offset_array(cellarr) and returns: _vtk