from __future__ import annotations
from typing import Any, Protocol, runtime_checkable
from com.sun.star.ui import XUIElementFactory

@runtime_checkable
class UIElementFactory(XUIElementFactory, Protocol):
    ...
