from __future__ import annotations
from typing import Any, Protocol, runtime_checkable
from com.sun.star.util import SortDescriptor

@runtime_checkable
class TableSortDescriptor(SortDescriptor, Protocol):
    SortFields: list[SortField]
    MaxFieldCount: int
    Orientation: TableOrientation
    ContainsHeader: bool
