/** * Formats a large number into a more readable string with suffixes. * @param num - The number to format. * @param digits - The number of decimal places to include (optional). * @returns A formatted number string. */ export declare function formatNumberWithSuffix(num: number, digits?: number): string; /** * Clamps a number between a minimum and maximum value. * @param num - The number to clamp. * @param min - The minimum value. * @param max - The maximum value. * @returns The clamped number. */ export declare function clamp(num: number, min: number, max: number): number; /** * Calculates the percentage difference between two numbers. * @param oldValue - The initial value. * @param newValue - The new value. * @returns The percentage difference. */ export declare function percentageDifference(oldValue: number, newValue: number): number; /** * Converts a percentage value to a decimal. * @param percentage - The percentage value. * @returns The decimal value. */ export declare function percentageToDecimal(percentage: number): number; /** * Converts a decimal value to a percentage. * @param decimal - The decimal value. * @returns The percentage value. */ export declare function decimalToPercentage(decimal: number): number; /** * Finds the median of an array of numbers. * @param numbers - The array of numbers. * @returns The median value. */ export declare function findMedian(numbers: number[]): number; /** * Finds the mode of an array of numbers. * @param numbers - The array of numbers. * @returns The mode value(s). */ export declare function findMode(numbers: number[]): number[]; /** * Calculates the factorial of a number. * @param n - The number. * @returns The factorial of the number. */ export declare function factorial(n: number): number; /** * Rounds a number to the nearest multiple of a given value. * @param num - The number to round. * @param multiple - The multiple to round to. * @returns The rounded number. */ export declare function roundToNearestMultiple(num: number, multiple: number): number; /** * Calculates the sum of an array of numbers. * @param numbers - The array of numbers. * @returns The sum of the numbers. */ export declare function sum(numbers: number[]): number; /** * Calculates the average of an array of numbers. * @param numbers - The array of numbers. * @returns The average value. */ export declare function average(numbers: number[]): number; /** * Rounds a number to a specified number of decimal places. * @param num - The number to round. * @param decimalPlaces - The number of decimal places. * @returns The rounded number. */ export declare function roundToDecimalPlaces(num: number, decimalPlaces: number): number; /** * Checks if a number is a prime number. * @param num - The number to check. * @returns True if the number is prime, false otherwise. */ export declare function isPrime(num: number): boolean; /** * Generates an array of numbers within a specified range. * @param start - The starting value. * @param end - The ending value. * @param step - The step size between values. * @returns An array of numbers. */ export declare function generateRange(start: number, end: number, step?: number): number[]; /** * Linearly interpolates between two values. * @param start - The start value. * @param end - The end value. * @param t - The interpolation factor (0.0 to 1.0). * @returns The interpolated value. */ export declare function lerp(start: number, end: number, t: number): number;