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

@runtime_checkable
class XConversionDictionary(XInterface, Protocol):
    def getName(self) -> str: ...
    def getLocale(self) -> Locale: ...
    def getConversionType(self) -> int: ...
    def setActive(self, bActivate: bool) -> None: ...
    def isActive(self) -> bool: ...
    def clear(self) -> None: ...
    def getMaxCharCount(self, eDirection: ConversionDirection) -> int: ...
    def getConversionEntries(self, eDirection: ConversionDirection) -> list[str]: ...
