import { type FormattingOptions } from '@/types'; /** * Formats a value from user input events (onChange, onBlur) by sanitizing, trimming decimals, and applying formatting. * The behavior adapts based on formatOn mode - removes separators in 'change' mode since they'll be re-added. * * @param rawValue - The raw input value from the user event * @param decimalMaxLength - Maximum number of decimal places allowed * @param formattingOptions - Optional formatting options * @param shouldRemoveThousandSeparators - Whether to remove thousand separators during sanitization (default: determined by formatOn) * @returns Object with formatted value and raw value (raw value is the value before formatting) */ export declare function formatInputValue(rawValue: string, decimalMaxLength: number, formattingOptions?: FormattingOptions, shouldRemoveThousandSeparators?: boolean): { formatted: string; raw: string; }; /** * Formats a value for display (e.g., initial values, controlled values). * Assumes the value might already contain thousand separators, so removes them before processing. * * @param value - The value to format for display * @param decimalMaxLength - Maximum number of decimal places allowed * @param formattingOptions - Optional formatting options * @returns Object with formatted value and raw value */ export declare function formatValueForDisplay(value: string, decimalMaxLength: number, formattingOptions?: FormattingOptions): { formatted: string; raw: string; };