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

@runtime_checkable
class XIntegerBitmapColorSpace(XColorSpace, Protocol):
    def getBitsPerPixel(self) -> int: ...
    def getComponentBitCounts(self) -> list[int]: ...
    def getEndianness(self) -> int: ...
