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

@runtime_checkable
class XSingleSelectQueryAnalyzer(XInterface, Protocol):
    def getQuery(self) -> str: ...
    def getFilter(self) -> str: ...
    def getStructuredFilter(self) -> list[list[PropertyValue]]: ...
    def getGroup(self) -> str: ...
    def getGroupColumns(self) -> XIndexAccess: ...
    def getHavingClause(self) -> str: ...
    def getStructuredHavingClause(self) -> list[list[PropertyValue]]: ...
    def getOrder(self) -> str: ...
    def getOrderColumns(self) -> XIndexAccess: ...
