from __future__ import annotations
from typing import Any, Protocol, runtime_checkable
from com.sun.star.uno import XInterface

@runtime_checkable
class XSheetAuditing(XInterface, Protocol):
    def hideDependents(self, aPosition: CellAddress) -> bool: ...
    def hidePrecedents(self, aPosition: CellAddress) -> bool: ...
    def showDependents(self, aPosition: CellAddress) -> bool: ...
    def showPrecedents(self, aPosition: CellAddress) -> bool: ...
    def showErrors(self, aPosition: CellAddress) -> bool: ...
    def showInvalid(self) -> bool: ...
    def clearArrows(self) -> None: ...
