declare type FormatArgs = { thousands?: string; decimals?: string; length?: number; currency?: string; }; /** * @description * Formats Vtex price * * @param {number} value The number to format * @param {string} [thousands='.'] The thousands delimiter * @param {string} [decimals=','] The decimal delimiter * @param {number} [length=2] The length of decimal * @param {string} [currency='R$ '] Set currency * * @returns {string} The formatted price */ declare const formatPrice: (value: number, { thousands, decimals, length, currency, }?: FormatArgs) => string; export default formatPrice;