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

@runtime_checkable
class ConfigurableUIElement(UIElement, XUIElementSettings, Protocol):
    Persistent: bool
    ConfigurationSource: XUIConfigurationManager
