/** * The InputParserFn. * Parses a view value. * * @public * @param viewValue - The value to be parsed. * @returns The parsed value if it could be parsed, otherwise undefined. */ export type InputParserFn = (viewValue: string) => string | undefined; /** * @public */ export declare namespace InputParsers { /** * Parses a currency formatted string into a number. * @param locale - The locale code (e.g., 'en-US', 'de-DE'). * @param code - The currency code (e.g., 'USD', 'EUR'). * @returns {InputParserFn} - The function that parses the currency string into a number. */ function currency(locale: string, code: string): InputParserFn; /** * Parses a percentage formatted string into a number. * @returns {InputParserFn} - The function that parses the percentage string into a number. */ function percentage(): InputParserFn; /** * Parses a custom formatted string into a number. * @param {string} locale - The locale code (e.g., 'en-US', 'de-DE'). * @returns {InputParserFn} - The function that parses the custom formatted string into a number. */ function custom(locale: string): InputParserFn; } export { InputParsers as default }; //# sourceMappingURL=InputParserFn.d.ts.map