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

@runtime_checkable
class TableSortDescriptor2(SortDescriptor2, Protocol):
    SortFields: list[TableSortField]
    MaxSortFieldsCount: int
    IsSortColumns: bool
