# Phases package
from .phase_01_key_extraction import run_phase_1  # With 2-second delay fix
from .phase_02_dedrm_config import run_phase_2
from .phase_03_calibre_import import run_phase_3
from .phase_04_epub_conversion import run_phase_4, process_phase_4b_retries

# Alternate method phases (used when DeDRM plugin is missing but KFXArchiver282.exe is present)
from .phase_01_alt_extraction import run_phase_1_alt, run_phase_1_alt_retry
from .phase_03_alt_import import run_phase_3_alt

__all__ = [
    'run_phase_1',
    'run_phase_2',
    'run_phase_3',
    'run_phase_4',
    'process_phase_4b_retries',
    'run_phase_1_alt',
    'run_phase_1_alt_retry',
    'run_phase_3_alt'
]
