from __future__ import annotations
from typing import Any, Protocol, runtime_checkable
from com.sun.star.lang import XEventListener

@runtime_checkable
class XMouseListener(XEventListener, Protocol):
    def mousePressed(self, e: MouseEvent) -> None: ...
    def mouseReleased(self, e: MouseEvent) -> None: ...
    def mouseEntered(self, e: MouseEvent) -> None: ...
    def mouseExited(self, e: MouseEvent) -> None: ...
