/** * Public surface of the formula engine. F1 (engine: parser, evaluator, * functions, value model) and F2 (reference model) land here first as pure, * self-contained modules. Later cycles (F3 recalc, F4 editor, F5 wiring) build * on this barrel and the package's `index.ts` re-exports the user-facing parts. */ export { FORMULA_EDITOR_TAG, FormulaCellEditor, type FormulaEditorContext, type FormulaEditorController, formulaEditorTemplate, } from './editor.js'; export { type CellValue, cycleError, divZeroError, FormulaError, type FormulaErrorCode, firstError, isFormulaError, nameError, ParseError, refError, toBoolean, toNumber, toText, valueError, } from './errors.js'; export { evaluate, type FormulaContext } from './evaluator.js'; export { BUILTIN_FUNCTION_NAMES, createFunctionRegistry, type FormulaFn, } from './functions.js'; export { type BinaryNode, type BinaryOperator, type BooleanLiteralNode, type CallNode, type FormulaAst, formulaReferences, type NumberLiteralNode, offsetReferences, parseFormula, type RangeNode, type ReferenceNode, type RefList, type StringLiteralNode, stringifyFormula, type UnaryNode, type UnaryOperator, } from './parser.js'; export { buildColumnLetters, type CellAddress, type CellRefFlags, type ColumnLetterMaps, columnLetterToIndex, formatA1, formatCell, indexToColumnLetter, isRangeAddress, normalizeRange, offsetAddress, type ParsedCellRef, parseA1, parseCellRef, type RangeAddress, rangeCells, } from './refs.js'; export { FORMULA_MODULE_ID, FormulaController, type FormulaEngineHost, FormulaStore, formulaModule, type RecalcChange, } from './store.js';