"""abs-formula-core — shared formula evaluator library.

Synchronously evaluates string-template formulas with field-type-aware
substitution. Provides 56 built-in functions (Conditional, Math,
Logical, String, Array, Date/Time, Constants), dropdown/radio/checkbox
label mapping, association reference following, date/datetime coercion,
file metadata pass-through, and SEQUENCE() preprocessing via a Mongo
``counters`` collection.
"""
from .evaluator import FormulaEvaluatorService
from .exceptions import FormulaEvaluationError, MissingFieldError
from .functions import FUNCTIONS

__version__ = "0.1.1"

__all__ = [
    "FormulaEvaluatorService",
    "MissingFieldError",
    "FormulaEvaluationError",
    "FUNCTIONS",
    "__version__",
]
