/**
 * Replace decimal separator of `value` with `convertTo`
 * @param {string|number} value
 * @param {string} convertTo decimal character to update the value with
 */
export declare function convertDecimal(value: any, convertTo?: string): string;

export declare const currency: {
    default: string;
    position: string;
    symbol: any;
};

export declare const currencySymbol: any;

/**
 * Format a value as a decimal in a locale-aware format.
 * NOTE: Be careful as this returns a string and should not be used for
 * additional calculation unless converted.
 * @param {number|string} value number to format
 * @param {number} [decimalPlaces] number of decimal places
 * @return {string} locale-aware number as a string
 */
export declare function decimal(value: any, decimalPlaces: any): string;

export declare const decimalSeparator: string;

/**
 * A helper function for obtaining symbol position relative to a value
 * This should be fine going forward unless we get into RTL, or Arabic.
 * @param {string} type the type of symbol
 */
export declare function getLocaleSymbolPosition({ type }?: {
    type?: string | undefined;
}): "prepend" | "append";

/**
 * Return the correct symbol for a currency based on code.
 *
 * @param {string} currencyCode - The code used to determine the symbol (i.e. 'USD').
 * @returns {string} - Currency symbol, i.e. '$'.
 */
export declare const getSymbolFromCurrency: (currencyCode: any) => any;

/**
 * Format a value as a money string in a locale-aware format.
 * @param {Object} object
 * @param {number} object.amount The number to format
 * @param {string} [object.currency] ISO 4217 currency code (USD, CAD, EUR, etc)
 * @return {string} locale-aware money value as a string
 */
export declare function money({ amount, currency }: {
    amount: any;
    currency?: string | undefined;
}): string;

/**
 * Format a value as a percent in a locale-aware format.
 * @param {number|string} value number to format
 * @param {number} [decimalPlaces] number of decimal places
 * @return {string} locale-aware percentage value as a string
 */
export declare function percent(value: any, decimalPlaces?: any): string;

/**
 * Cleans a value to reflect type=number restrictions.
 * Omits exponents, and restricts the decimal separator.
 * @param {number|string} value value to format
 * @param {string} value decimal separator
 */
export declare function sanitizeDecimal(value: any, separator?: string): string;

export { }
