/**
 * Decimal helpers (rounding, formatting fraction digits).
 */
import type { NumberFormatValue } from './types';
import type { InternalNumberFormatOptions } from './types';
/**
 * Rounds the number to the nearest even number.
 */
export declare function roundHalfEven(num: number, decimalPlaces?: number): number;
/**
 * Fill format decimals.
 */
export declare const formatDecimals: (value: NumberFormatValue, decimals: number | string | null, rounding: string | boolean | null | undefined, opts?: InternalNumberFormatOptions) => NumberFormatValue;
/**
 * Find the amount of decimals.
 */
export declare const countDecimals: (value: NumberFormatValue, decimalSeparator?: string) => number;
