from __future__ import annotations
from typing import Any, Protocol, runtime_checkable
from com.sun.star.scanner import XScannerManager

@runtime_checkable
class XScannerManager2(XScannerManager, Protocol):
    ...
