import { MouseEvent, RefObject } from "react";
export type Separators = "." | "," | " " | "";
export interface IInputNumber {
    decimalLength?: number;
    decimalSeparator?: Separators;
    disableAbbreviation?: boolean;
    disableMacros?: boolean;
    thousandSeparator?: Separators;
    trimDecimals?: boolean;
    onSave?: (e: Event) => void;
    value?: string | number;
    step?: number;
    limit?: number;
    onEnterKeyPress?: (val: string) => void;
    onChange?: (val: string) => void;
    onClick?: (event: MouseEvent<HTMLInputElement>) => void;
    allowEmptyValue?: boolean;
    onCancel?: (e: Event) => void;
    onBlur?: (e: Event) => void;
    validation?: (value: string, disableMacros: boolean, decimalSeparator: string, decimalLength: number, limit?: number) => boolean;
    min?: string | number;
    max?: string | number;
    update?: boolean;
}
export declare const useInputNumber: ({ decimalSeparator, thousandSeparator, disableAbbreviation, disableMacros, decimalLength, value, onChange, onSave, onEnterKeyPress, onClick, onCancel, allowEmptyValue, step, trimDecimals, limit, validation, min, max, onBlur, update, }: IInputNumber, inputRef: RefObject<HTMLInputElement | null>) => {
    value: string;
    onBlur: (e: any) => void;
    onKeyDown: (e: any) => void;
    onChange: (e: any) => void;
    onClick: (e: any) => void;
    onDoubleClick: () => void;
    onFocus: () => void;
    focused: boolean;
    unformattedValue: string;
};
//# sourceMappingURL=useInputNumber.d.ts.map