/** * Note: function assumes that the decimal separator for * `value` & `oldValue` is `.` * * The function assumes a value that passes VALID_REGEX * It may work for some strings, and return a valid number * (e.g. value: 'a', decimalPlaces: 2, returned value: '0.00') * as a side-effect of using `toFixedPrecisionString`, * but this is undefined behavior. */ export declare const formatCurrencyUserInput: ({ decimalPlaces, value, }: { decimalPlaces: number; value: string; }) => string;