import { Utxo } from '../../data-structures/utxo/Utxo';
import { BigIntable } from '../../types/big-intable.types';
export declare const calculateSum: (arr: number[]) => number;
export declare const beepsToPercentage: (beeps: number) => number;
export declare const calculateAmountUsingBeeps: (beep: bigint, amount: bigint) => bigint;
export declare function toBigInt(value: BigIntable): bigint;
export declare const advancedToBigInt: (value: number[] | string | number | bigint) => bigint;
/** Converts the value to a BigInt or returns undefined if can't */
export declare const toBigIntOrUndefined: (value: any) => bigint | undefined;
/** Converts the value to a number or returns undefined if can't */
export declare const toNumberOrUndefined: (value: any) => number | undefined;
export declare const toInt: (param: string | undefined, defaultValue: number) => number;
export declare function bigintMax(...values: bigint[]): bigint;
export declare function fixDecimalsAmount(n: number, decimals?: number): number | " < 0.000001";
export declare const getValueFirstNDigit: (num: number, numberOfDigits: number) => string;
export declare const trimLeadingZeros: (numberString: string) => string;
export declare const toCommaSeparatedNumberString: (numberString: string) => string;
export declare const truncateToDecimalPlaces: (numStr: string, decimalPlaces?: number) => string;
export declare const formatAmountInput: (valueStr: string, decimals: number | undefined, inputEl?: HTMLInputElement) => string | null;
/** Return absolute value of BigInt */
export declare const absBigInt: (n: bigint) => bigint;
/** Return the smallest values of the 2 or 3 values provided */
export declare const minBigInt: (a: bigint, b: bigint, c?: bigint) => bigint;
export declare const maxBigInt: (a: bigint, b: bigint) => bigint;
export declare const countTotalAmountInUtxos: (utxos: Utxo[]) => bigint;
