"""Public compatibility module.

Conceptually, this module preserves the historical decoding import surface used
by notebooks and scripts.

It exists as a separate unit so legacy imports remain stable while the actual
implementation stays split between focused helper modules.

It connects the stable decoding API to `selection`, `svm`, and
`decoding_pipelines`.
"""

from __future__ import annotations

from .selection import get_ccf_mask, get_celltype_mask, get_completion_mask, get_quiet_mask
from .svm import decode_one_bin_svm, decode_one_bin_svm_matlab_compat
from .decoding_pipelines import (
    run_afterwhisker_decoding_pipeline,
    run_delay_decoding_pipeline,
    run_nb_neurons_decoding_pipeline,
    run_prewhisk_training_decoding_pipeline,
)

__all__ = [
    "decode_one_bin_svm",
    "decode_one_bin_svm_matlab_compat",
    "get_ccf_mask",
    "get_celltype_mask",
    "get_completion_mask",
    "get_quiet_mask",
    "run_afterwhisker_decoding_pipeline",
    "run_delay_decoding_pipeline",
    "run_nb_neurons_decoding_pipeline",
    "run_prewhisk_training_decoding_pipeline",
]
