/** * Converts full-width Japanese characters to half-width equivalents * Supports: numbers (0-9), period (.), comma (,), minus (-) */ export declare const convertFullWidthToHalfWidth: (str: string) => string; /** * Escapes special regex characters in a string */ export declare const escapeRegex: (str: string) => string; /** * Checks if a string is a minus sign (half-width, full-width, katakana, or mathematical) */ export declare const isMinusSign: (str: string) => boolean; /** * Converts any minus sign variant to half-width minus */ export declare const normalizeMinusSign: (str: string) => string; /** * Parses a value prop (string or number) to a number, removing separator if present */ export declare const parseValueProp: (value: string | number | readonly string[] | null | undefined, separator?: string) => number; /** * Normalizes the input string by removing invalid characters * and ensuring proper decimal point handling */ export declare const normalizeNumericInput: (input: string, allowDecimal: boolean, allowNegative: boolean, maxLength?: number) => string; /** * Count digit characters (0-9) from the start of string up to (but not including) position. * Used to preserve cursor position when reformatting (e.g. adding/removing thousand separators). */ export declare const countDigitsBefore: (str: string, position: number) => number; /** * Find the position in the formatted string where the digit count from the start equals digitCount. * Returns the position right after the digitCount-th digit (suitable for selectionStart). * When digitCount is 0, returns 0 (cursor at start); never returns past-the-end for cursor placement. */ export declare const positionAfterDigitCount: (str: string, digitCount: number) => number; //# sourceMappingURL=numeric-input.utils.d.ts.map