import React from 'react'; import '../../styles/base.module.css'; import { TextInputProps } from '../textInput'; export type NumberInputProps = Omit & { /** * The default input element value. Use when the component is not controlled */ defaultValue?: number; /** * The label for the input */ label: string; /** * Max value allowed */ max?: number; /** * Min value allowed */ min?: number; /** * The aria-label for minus step button */ minusStepButtonAriaLabel?: string; /** * The aria-label for plus step button */ plusStepButtonAriaLabel?: string; /** * Number intervals that are used when using increase/decrease steppers. */ step?: number; /** * Unit characters of the input. Example: € */ unit?: string; /** * The value of the input element, required for a controlled component */ value?: number | ''; }; export declare const NumberInput: ({ className, disabled, defaultValue, errorText, helperText, hideLabel, invalid, id, label, max, min, minusStepButtonAriaLabel, onChange, plusStepButtonAriaLabel, required, step, style, successText, infoText, tooltip, type, unit, ref, ...rest }: NumberInputProps) => React.JSX.Element;