/** * Numora Formatting Module * * Provides comprehensive number formatting with thousand separators and * sophisticated cursor position preservation for numeric input fields. * * @module formatting */ export type { ChangeRange } from './constants'; export { GROUPING_CONFIG } from './constants'; export { formatWithSeparators } from './thousand-grouping'; export { calculateCursorPositionAfterFormatting, type CursorPositionOptions, } from './cursor-position'; export { findChangedRangeFromCaretPositions, findChangeRange } from './change-detection'; export { getCaretBoundary, getCaretPosInBoundary } from './cursor-boundary'; export { computeCursorPosition, computeStripSeparatorsResult, skipOverThousandSeparatorOnDelete, } from './caret-position-utils'; export type { StripSeparatorsResult } from './caret-position-utils'; export { writeValuePreservingUndo, writeStripPreservingUndo, } from './dom-writes';