"""
适配器包初始化 - 支持自动激活
"""
from .table_recognition_adapter import (
    apply_table_recognition_adapter,
    restore_original_function,
    enhanced_predict_single_table_recognition_res
)

from .doc_preprocessor_adapter import (
    apply_enhanced_doc_preprocessor,
    restore_paddlex_doc_preprocessor,
    DocPreprocessorAdapter,
    EnhancedDocPreprocessor,
)

__all__ = [
    # 表格识别适配器
    'apply_table_recognition_adapter',
    'restore_original_function',
    'enhanced_predict_single_table_recognition_res',

    # 文档预处理适配器
    'apply_enhanced_doc_preprocessor',
    'restore_paddlex_doc_preprocessor',
    'DocPreprocessorAdapter',
    'EnhancedDocPreprocessor',
]