import type { InputValue, NumberInputLabelApi, NumberInputLabelConfig, UseNumberFormatConfig } from './NumberInput.types';
export declare function usePrevious<T>(value: T): T;
export declare function useNumberFormat({ decimalScale: _decimalScale, fillDecimalScale, locale: _locale, }: UseNumberFormatConfig): {
    formatValue: (value: InputValue) => string;
    getValueLengthInfo: (value: InputValue, isNumericString?: boolean) => {
        length: number;
        safeLength: number;
        isSafeLength: boolean;
        safelyTruncatedValue: string;
        integerLength: number;
        safeIntegerLength: number;
        isSafeIntegerLength: boolean;
        fractionLength: number;
        safeFractionLength: number;
        isSafeFractionLength: boolean;
    };
    locale: string[];
    fixedDecimalScale: boolean;
    fillDecimalScaleOnBlur: boolean;
    decimalScale: number;
};
export declare function useNumberInputLabel({ ariaLabel, ariaLabelledBy, id, name, prefix, suffix, }: NumberInputLabelConfig): NumberInputLabelApi;
