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

@runtime_checkable
class XGridControl(Protocol):
    def addGridControlListener(self, listener: XGridControlListener) -> None: ...
    def removeGridControlListener(self, listener: XGridControlListener) -> None: ...
