import { IntlConfig } from '../types.js';
import 'react';

type FormatValueOptions = {
    /**
     * Value to format
     */
    value: string | undefined;
    /**
     * Decimal separator
     *
     * Default = '.'
     */
    decimalSeparator?: string | undefined;
    /**
     * Group separator
     *
     * Default = ','
     */
    groupSeparator?: string | undefined;
    /**
     * Turn off separators
     *
     * This will override Group separators
     *
     * Default = false
     */
    disableGroupSeparators?: boolean | undefined;
    /**
     * Intl locale currency config
     */
    intlConfig?: IntlConfig | undefined;
    /**
     * Specify decimal scale for padding/trimming
     *
     * Eg. 1.5 -> 1.50 or 1.234 -> 1.23
     */
    decimalScale?: number | undefined;
    /**
     * Prefix
     */
    prefix?: string | undefined;
    /**
     * Suffix
     */
    suffix?: string | undefined;
};
/**
 * Format value with decimal separator, group separator and prefix
 */
declare const formatValue: (options: FormatValueOptions) => string;

export { type FormatValueOptions, formatValue };
