code: def setup(app: Sphinx) -> dict[str, Any]:
      app.add_post_transform(HighlightLanguageTransform)
      app.add_post_transform(TrimDoctestFlagsTransform)
  
      return {
          "version": "builtin",
          "parallel_read_safe": True,
          "parallel_write_safe": True,
      }
  
imports: from __future__ import annotations
  import sys
  from typing import TYPE_CHECKING, Any, NamedTuple
  from docutils import nodes
  from pygments.lexers import PythonConsoleLexer, guess_lexer
  from sphinx import addnodes
  from sphinx.ext import doctest
  from sphinx.transforms import SphinxTransform
label_desc: Use image node_id 1 for calling a global function with example usage: setup(app) and returns: dict