/** * Adds multiple numbers with high precision using Big.js * @param numbers - Array of numbers to add * @returns The sum as a number */ export declare function Add(...numbers: number[]): number; /** * Subtracts multiple numbers with high precision using Big.js * @param numbers - Array of numbers where the first is subtracted by all others * @returns The subtraction result as a number */ export declare function Subtract(...numbers: number[]): number; /** * Multiplies multiple numbers with high precision using Big.js * @param numbers - Array of numbers to multiply * @returns The product as a number */ export declare function Multiply(...numbers: number[]): number; /** * Divides multiple numbers with high precision using Big.js * @param numbers - Array of numbers where the first is divided by all others * @returns The division result as a number */ export declare function Divide(...numbers: number[]): number; /** * Calculates discounted or marked-up price based on a percentage * @param originalPrice - The starting price * @param discountPercentage - Percentage to apply (discount or markup) * @param markUp - When true, adds the percentage; when false, subtracts it * @returns The final price after discount/markup as a number */ export declare function CalcDiscPrice(originalPrice: number, discountPercentage: number, markUp?: boolean): number; /** * Calculates a price with markup applied * @param originalPrice - The starting price * @param markupPercentage - Percentage to mark up by * @returns The final marked-up price as a number */ export declare function CalcMarkup(originalPrice: number, markupPercentage: number): number; /** * Calculates a price with markdown (discount) applied * @param originalPrice - The starting price * @param markdownPercentage - Percentage to mark down by * @returns The final marked-down price as a number */ export declare function CalcMarkdown(originalPrice: number, markdownPercentage: number): number; /** * Calculates the margin value as a percentage based on price and cost * @param price - The selling price of the item * @param cost - The cost of the item * @returns The margin value as a percentage */ export declare function GetMarginValue(price: number, cost: number): number;