import type { CurrencyType, ItemsType, LocalesFormatType, PriceType, PriceTypeSingle, SubCategoryType, TimeUnit } from './types'; export declare const formatNumber: (number: number, locale: LocalesFormatType, currency: CurrencyType, fractionDigits?: number) => string; type CalculatePriceProps = { price: number; amount: number; amountFree?: number; timeUnit: TimeUnit; timeAmount: number; discount?: number; fixedPrice?: boolean; }; export declare const calculatePrice: ({ price, amount, amountFree, timeUnit, timeAmount, discount, fixedPrice, }: CalculatePriceProps) => number; export declare const calculateSubCategoryPrice: (subCategory: SubCategoryType, hideTimeUnit: boolean, timePeriodAmount: number, timePeriodUnit: TimeUnit) => { discounted: [number, number]; default: [number, number]; }; export declare const calculateCategoryPrice: (category: ItemsType, hideTimeUnit: boolean, timePeriodAmount: number, timePeriodUnit: TimeUnit) => { categoryPrice: [number, number]; discountedPrice: [number, number]; }; type DisplayPriceProps = { price: PriceTypeSingle; beforeOrAfter: 'before' | 'after'; divisor?: number; }; export declare const DisplayPrice: ({ price, beforeOrAfter, divisor }: DisplayPriceProps) => string; export declare const computeCategoriesPrice: (items: ItemsType[], hideTimeUnit: boolean, timePeriodAmount: number, timePeriodUnit: TimeUnit) => PriceType; export declare const computeTotalPrice: (categoriesPrice: PriceType, discount: number, timePeriodUnit: TimeUnit) => { maxPrice: number; maxPriceWithDiscount: number; timeUnit: TimeUnit; totalPrice: number; totalPriceWithDiscount: number; }; export {}; //# sourceMappingURL=helpers.d.ts.map