/** * @license * Copyright Google Inc. All Rights Reserved. * * Use of this source code is governed by an MIT-style license that can be * found in the LICENSE file at https://angular.io/license */ export declare const NUMBER_FORMAT_REGEXP: RegExp; /** * @ngModule CommonModule * @description * * Formats a number as currency using locale rules. * * Use `currency` to format a number as currency. * * Where: * - `value` is a number. * - `locale` is a `string` defining the locale to use. * - `currency` is the string that represents the currency, it can be its symbol or its name. * - `currencyCode` is the [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) currency code, such * as `USD` for the US dollar and `EUR` for the euro. * - `digitInfo` See {@link DecimalPipe} for more details. * * */ export declare function formatCurrency(value: number, locale: string, currency: string, currencyCode?: string, digitsInfo?: string): string; /** * @ngModule CommonModule * @description * * Formats a number as a percentage according to locale rules. * * Where: * - `value` is a number. * - `locale` is a `string` defining the locale to use. * - `digitInfo` See {@link DecimalPipe} for more details. * * */ export declare function formatPercent(value: number, locale: string, digitsInfo?: string): string; /** * @ngModule CommonModule * @description * * Formats a number as text. Group sizing and separator and other locale-specific * configurations are based on the locale. * * Where: * - `value` is a number. * - `locale` is a `string` defining the locale to use. * - `digitInfo` See {@link DecimalPipe} for more details. * * */ export declare function formatNumber(value: number, locale: string, digitsInfo?: string): string; export declare function parseIntAutoRadix(text: string): number;