code: def int_indexer_strategy(dim) -> hps.SearchStrategy[int]:
      return hps.integers(
          min_value=np.iinfo(np.int32).min, max_value=dim - 1
      )
  
imports: from __future__ import annotations
  import unittest
  from absl.testing import absltest
  from absl.testing import parameterized
  import jax
  from jax._src import util
  from jax._src.state import indexing
  import numpy
  import hypothesis.extra.numpy
  import hypothesis.strategies
label_desc: Use image node_id 1 for calling a global function with example usage: int_indexer_strategy(dim) and returns: hps