"""
Training API — barrel re-export.

The actual code lives in:
  - training_models.py      (enums, Pydantic models, in-memory state)
  - training_simulation.py  (simulate_training_progress, SSE generators)
  - training_routes.py      (FastAPI router + all endpoints)
"""

# Models & enums
from .models import (  # noqa: F401
    TrainingStatus,
    ModelType,
    TrainingConfig,
    TrainingMetrics,
    TrainingJob,
    ModelVersion,
    DatasetStats,
    TrainingState,
    _state,
)

# Simulation helpers
from .simulation import (  # noqa: F401
    simulate_training_progress,
    training_metrics_generator,
    batch_ocr_progress_generator,
)

# Router
from .routes import router  # noqa: F401
