from __future__ import annotations
from typing import Any, Protocol, runtime_checkable
from com.sun.star.linguistic2 import XDictionary

@runtime_checkable
class XSearchableDictionary(XDictionary, Protocol):
    def searchSimilarEntries(self, aWord: str) -> list[XDictionaryEntry]: ...
