"""
Document parsing services package.
[AC-AISVC-33] Provides document parsers for various formats.
"""

from app.services.document.base import (
    DocumentParseException,
    DocumentParser,
    PageText,
    ParseResult,
    UnsupportedFormatError,
)
from app.services.document.excel_parser import CSVParser, ExcelParser
from app.services.document.factory import (
    DocumentParserFactory,
    get_supported_document_formats,
    parse_document,
)
from app.services.document.pdf_parser import PDFParser, PDFPlumberParser
from app.services.document.text_parser import TextParser
from app.services.document.word_parser import WordParser

__all__ = [
    "DocumentParseException",
    "DocumentParser",
    "PageText",
    "ParseResult",
    "UnsupportedFormatError",
    "DocumentParserFactory",
    "get_supported_document_formats",
    "parse_document",
    "PDFParser",
    "PDFPlumberParser",
    "WordParser",
    "ExcelParser",
    "CSVParser",
    "TextParser",
]
