code: def _elide(string: str, typed: str, min_elide=30) -> str:
      return _elide_typed(
          _elide_point(string, min_elide=min_elide),
          typed,
          min_elide=min_elide,
      )
  
imports: import unicodedata
  from wcwidth import wcwidth
  from IPython.core.completer import provisionalcompleter, cursor_to_position, _deduplicate_completions
  from prompt_toolkit.completion import Completer, Completion
  from prompt_toolkit.lexers import Lexer
  from prompt_toolkit.lexers import PygmentsLexer
  from prompt_toolkit.patch_stdout import patch_stdout
  import pygments.lexers
  import os
  import sys
  import traceback
label_desc: Use image node_id 3 for calling a global function with example usage: _elide(string, typed, min_elide) and returns: _elide_typed