export declare class DecimalUtils { /** * Render `value * 10 ^ decimals` as a string. `minPrecision` tells how \ * many decimal places to pad the string with. \ * e.g. 1 * 10 ^ 0 => '1' \ * 1 * 10 ^ 0 with 2 min precision => '1.00' \ */ static render(value: bigint | number, decimals: number, minPrecision?: number): string; /** * Decode a string into a bigint and the number of decimal places \ * e.g. '1' => { value: 1n, decimals: 0 } \ * '1.01' => { value: 101n, decimals: -2 } \ */ static tryDecode(input: string): { value: bigint; decimals: number; }; /** * Strips trailing zeroes from the value and moves them to the decimals \ * e.g. 1000 => 1 * 10 ^ 3 => { value: 1, decimals: 3 } \ * 4530000 => 453 * 10 ^ 4 => { value: 453, decimals: 4 } */ static normalize(input: { value: bigint; decimals: number; }): { value: bigint; decimals: number; }; } //# sourceMappingURL=decimalUtils.d.ts.map