from __future__ import annotations
from typing import Any, Protocol, runtime_checkable

@runtime_checkable
class XPackageTypeInfo(Protocol):
    def getMediaType(self) -> str: ...
    def getFileFilter(self) -> str: ...
    def getIcon(self, highContrast: bool, smallIcon: bool) -> Any: ...
