import type NumberFormatting from '../number-formatting'; import type { PriceFormatOption } from './format-options'; export declare type FormatFlags = Partial>; export interface PriceParts { Pre: string; Post: string; First: string; Pips: string; DeciPips: string; } /** * Formats a price value with the specified options. * @param numberFormatting - numberFormatting * @param value - The price value to format. * @param decimals - decimals * @param formatOptions- (optional) Indicates if the price also include half-pips (decimal pips), and which format should be used. * @param numeratorDecimals - (optional) In the case of Fractions or ModernFractions, this is the number of decimals on the fraction numerator * @returns An object containing the formatted price. */ declare function formatPrice(numberFormatting: NumberFormatting, value: number | undefined | null | string, decimals: number, formatOptions?: PriceFormatOption | PriceFormatOption[] | FormatFlags | null, numeratorDecimals?: number): PriceParts; export default formatPrice;