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

@runtime_checkable
class XSubTotalField(XInterface, Protocol):
    def getGroupColumn(self) -> int: ...
    def setGroupColumn(self, nGroupColumn: int) -> None: ...
    def getSubTotalColumns(self) -> list[SubTotalColumn]: ...
    def setSubTotalColumns(self, aSubTotalColumns: SubTotalColumn >) -> None: ...
