from __future__ import annotations
from typing import Any, Protocol, runtime_checkable
from com.sun.star.text import BaseIndexMark
from com.sun.star.text import TextContent

@runtime_checkable
class DocumentIndexMark(TextContent, BaseIndexMark, Protocol):
    PrimaryKey: str
    SecondaryKey: str
    IsMainEntry: bool
