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

@runtime_checkable
class XGridColumnModel(Protocol):
    def getColumnCount(self) -> int: ...
    def createColumn(self) -> XGridColumn: ...
    def getColumns(self) -> list[XGridColumn]: ...
    def setDefaultColumns(self, elements: int) -> None: ...
