code: def add_options(parser: ArgumentParser) -> None:
      """Allows the plugin to add its own command line and API arguments.
  
      OCRmyPDF converts command line arguments to API arguments, so adding
      arguments here will cause new arguments to be processed for API calls
      to ``ocrmypdf.ocr``, or when invoked on the command line.
  
      Note:
          This hook will be called from the main process, and may modify global state
          before child worker processes are forked.
      """
  
imports: from __future__ import annotations
  from abc import ABC, abstractmethod
  from argparse import ArgumentParser, Namespace
  from collections.abc import Sequence, Set
  from logging import Handler
  from pathlib import Path
  from typing import TYPE_CHECKING, NamedTuple
  import pluggy
  from ocrmypdf import Executor, PdfContext
  from ocrmypdf._progressbar import ProgressBar
  from ocrmypdf.helpers import Resolution
label_desc: Use image node_id 3 for calling a global function with example usage: add_options(parser) without return types