import { NumberField } from '@base-ui/react/number-field'; import { type FieldBoxSize } from './fieldBox.js'; export interface NumberInputProps extends Omit { /** How the value reads in the box: grouping, currency, units, percent. Intl's own options, so * `{ style: 'currency', currency: 'USD' }` or `{ style: 'unit', unit: 'gigabyte' }`. Digits * are kept as typed unless the format limits them, and grouping is off unless it turns it on. */ format?: Intl.NumberFormatOptions | undefined; placeholder?: string | undefined; /** Up and down buttons beside the value. */ steppers?: boolean | undefined; autoFocus?: boolean | undefined; 'aria-label'?: string | undefined; 'aria-labelledby'?: string | undefined; 'aria-describedby'?: string | undefined; 'aria-invalid'?: boolean | undefined; /** Marks the field required for assistive technology without the native check `required` adds. */ 'aria-required'?: boolean | undefined; /** `sm` for dense places such as toolbars and table cells, `lg` for a form that stands alone, * such as sign-in. */ size?: FieldBoxSize | undefined; /** Applied to the box around the input and its steppers, such as a width. */ className?: string | undefined; } /** A number field: typing, arrow keys and the steppers move the value within `min` and `max` * by `step`, and `format` shows it as Intl formats it in the reader's locale. The value is a * number, or null while the box is empty. */ export declare function NumberInput({ format, placeholder, steppers, autoFocus, 'aria-label': ariaLabel, 'aria-labelledby': ariaLabelledBy, 'aria-describedby': ariaDescribedBy, 'aria-invalid': ariaInvalid, 'aria-required': ariaRequired, size, className, ...rootProps }: NumberInputProps): import("react").JSX.Element;