import type { TextFieldProps } from "@mui/material/TextField"; import { type FC } from "react"; import type { FormControlProps } from "../FormControl/index.js"; import { type FormHelperTextProps } from "../FormHelperText/index.js"; import { type NumberInputProps } from "../NumberInput/index.js"; /** * Properties for FormLabelNumberField. */ export type FormLabelNumberFieldProps = Omit & Pick & NumberInputProps & { InputProps?: Omit; NumberInputComponent?: FC; /** * A label to display as helpText when the number input value is out of * range, relative to the min and max properties. */ numberOutOfRangeErrorText?: string; /** * A label to display as helpText when the number input value is invalid * (ie. NaN). */ invalidNumberErrorText?: string; /** * A label to display as helpText when the number input value has more * than the configured maxDecimalPlaces. */ maxDecimalPlacesErrorText?: string; /** * The FormHelperTextProps found on the TextFieldProps are deprecated * and will be removed in MUI 7 */ FormHelperTextProps?: Partial; }; /** * Like TextField, but uses a FormLabel instead of an InputLabel, and uses * NumberInput instead of a normal input. */ declare const FormLabelNumberField: import("react").ForwardRefExoticComponent & import("react").RefAttributes>; export default FormLabelNumberField;