import * as React from 'react'; import { IInput } from '../../interfaces'; import { size, status } from './NumberInput.types'; interface NumberInputProps extends IInput { /** * Size of input * @default 'default' */ inputSize?: size; /** * Explanation Text of input */ helperText?: React.ReactNode; /** * Label of input */ label?: React.ReactNode; /** * If true, - button is rendered left side, + button is rendered right side of component * @default false */ mobile?: boolean; /** * If true, input will be disabled */ loading?: boolean; /** * Validation statuses */ status?: status; /** * When status is equal to error, shows this message */ errorMessage?: React.ReactNode; /** * External ref object */ inputRef?: React.Ref; /** * Additional classes */ className?: string; } interface NumberInputState { value?: number; } export declare class NumberInput extends React.PureComponent { private numberInput; private setNumberInputRef; static defaultProps: { inputSize: string; mobile: boolean; }; constructor(props: NumberInputProps); setNativeValue: (element: any, value: any) => void; handleArrowClick: (evt: any, direction: any) => void; render(): JSX.Element; } export {};