from __future__ import annotations
from typing import Any, TypedDict

class ProofreadingResult(TypedDict, total=False):
    aDocumentIdentifier: str
    xFlatParagraph: XFlatParagraph
    aText: str
    aLocale: Locale
    nStartOfSentencePosition: int
    nBehindEndOfSentencePosition: int
    nStartOfNextSentencePosition: int
    aErrors: list[SingleProofreadingError]
    aProperties: list[PropertyValue]
    xProofreader: XProofreader
