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

@runtime_checkable
class XLocaleData(XInterface, Protocol):
    def getLanguageCountryInfo(self, aLocale: Locale) -> LanguageCountryInfo: ...
    def getLocaleItem(self, aLocale: Locale) -> LocaleDataItem: ...
    def getAllCalendars(self, aLocale: Locale) -> list[Calendar]: ...
    def getAllCurrencies(self, aLocale: Locale) -> list[Currency]: ...
    def getAllFormats(self, aLocale: Locale) -> list[FormatElement]: ...
    def getCollatorImplementations(self, aLocale: Locale) -> list[Implementation]: ...
    def getSearchOptions(self, aLocale: Locale) -> list[str]: ...
    def getCollationOptions(self, aLocale: Locale) -> list[str]: ...
    def getTransliterations(self, aLocale: Locale) -> list[str]: ...
    def getForbiddenCharacters(self, aLocale: Locale) -> ForbiddenCharacters: ...
    def getReservedWord(self, aLocale: Locale) -> list[str]: ...
    def getAllInstalledLocaleNames(self) -> list[Locale]: ...
