import { TextField2Props } from '../TextField2';
import * as React from "react";
type NumberValue = number | null;
type NumberFieldChangeEvent = React.ChangeEvent<HTMLInputElement | HTMLTextAreaElement>;
type NumberFieldFocusEvent = React.FocusEvent<HTMLInputElement | HTMLTextAreaElement>;
export interface NumberFieldProps extends Omit<TextField2Props, "value" | "defaultValue" | "onChange" | "type" | "multiline" | "rows" | "minRows" | "maxRows" | "inputProps"> {
    value?: NumberValue;
    defaultValue?: NumberValue;
    onChange?: (event: NumberFieldChangeEvent) => void;
    onValueChange?: (value: NumberValue, event: NumberFieldChangeEvent | NumberFieldFocusEvent) => void;
    onValueCommit?: (value: NumberValue, event: NumberFieldFocusEvent) => void;
    min?: number;
    max?: number;
    step?: number;
    allowDecimal?: boolean;
    allowNegative?: boolean;
    clampOnBlur?: boolean;
    snapToStepOnBlur?: boolean;
    controls?: boolean;
    controlButtonStep?: number;
    inputProps?: TextField2Props["inputProps"];
}
declare const NumberField: React.ForwardRefExoticComponent<Omit<NumberFieldProps, "ref"> & React.RefAttributes<HTMLInputElement | HTMLTextAreaElement>>;
export default NumberField;
