from __future__ import annotations
from typing import Any, Protocol, runtime_checkable
from com.sun.star.beans import XPropertySet
from com.sun.star.sheet import XDataPilotResults
from com.sun.star.sheet import XDimensionsSupplier
from com.sun.star.util import XRefreshable

@runtime_checkable
class DataPilotSource(XDimensionsSupplier, XDataPilotResults, XRefreshable, XPropertySet, Protocol):
    ColumnGrand: bool
    RowGrand: bool
    RowFieldCount: int
    ColumnFieldCount: int
    DataFieldCount: int
