import { ReactElement } from 'react'; import { FieldBaseProps } from '../base'; /** * Props for {@link NumberField}. * Extends {@link FieldBaseProps}. * * @category NumberField */ export interface NumberFieldProps extends Omit { /** Lowest accepted value. */ min?: number; /** Highest accepted value. */ max?: number; /** Granularity of accepted values and of the stepper controls. Default: 1 */ step?: number; /** When true, renders the controls that increment and decrement the value. */ showStepper?: boolean; /** Icon of the control that increments the value. Default: CollapseIcon */ incrementIcon?: ReactElement; /** Accessible label of the control that increments the value. Default: Increase value */ incrementLabel?: string; /** Icon of the control that decrements the value. Default: ExpandIcon */ decrementIcon?: ReactElement; /** Accessible label of the control that decrements the value. Default: Decrease value */ decrementLabel?: string; } /** * Number field component used to enter numeric values. * * Use for quantities, amounts, and other number-based input. * * @category NumberField * @function * @param props - All field props inherited from {@link FieldBase}. * * @example * * * @example * * * @example * */ export declare const NumberField: import('react').ForwardRefExoticComponent>;