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

@runtime_checkable
class XCellRangesQuery(XInterface, Protocol):
    def queryVisibleCells(self) -> XSheetCellRanges: ...
    def queryEmptyCells(self) -> XSheetCellRanges: ...
    def queryContentCells(self, nContentFlags: int) -> XSheetCellRanges: ...
    def queryFormulaCells(self, nResultFlags: int) -> XSheetCellRanges: ...
    def queryColumnDifferences(self, aCompare: CellAddress) -> XSheetCellRanges: ...
    def queryRowDifferences(self, aCompare: CellAddress) -> XSheetCellRanges: ...
    def queryIntersection(self, aRange: CellRangeAddress) -> XSheetCellRanges: ...
