from __future__ import annotations
from typing import Any, Protocol, runtime_checkable
from com.sun.star.uno import XInterface

@runtime_checkable
class XModeSelector(XInterface, Protocol):
    def getMode(self) -> str: ...
    def getSupportedModes(self) -> list[str]: ...
    def supportsMode(self, aMode: str) -> bool: ...
