import React from 'react'; type Props = { customTrailingElement?: React.ReactNode; /** Set field disabled */ disabled?: boolean; /** Is fired when field loses focus * @param {string} value New value */ onBlur?: (value?: string, event?: React.SyntheticEvent) => void; /** Is fired when field value changes * @param {string} value New value */ onChange: (input?: string, event?: React.SyntheticEvent) => void; /** Is fired when field attains focus */ onFocus?: () => void; /** Force usage of positive numbers only (disallow '-') */ onlyPositive?: boolean; /** Numeric options. Renders a Select with numeric options */ options?: any[]; /** Total amount allowed characters */ precision?: number; /** Total amount allowed decimal points (after ',') */ scale?: number; /** Display clickable increment/decrement arrow buttons */ showArrows?: boolean; /** Unit appended to the end of the input field */ unit?: string; /** String allows floating-point numbers larger than 64 bits (length of about 17) JavaScript numbers */ value?: string; }; type State = { value: string; focused: boolean; }; export declare class NumberComponent extends React.Component { timeOut: ReturnType | undefined; static defaultProps: { disabled: boolean; onlyPositive: boolean; precision: number; scale: number; }; constructor(props: Props); state: State; componentDidMount(): void; componentWillReceiveProps(nextProps: any): void; onBlur: (event: React.FocusEvent) => void; removeSpaces: (value: string) => string; parseInputToString: (inputValue: string | number) => string; handleChange: (inputValue: string | number) => void; handleFocus: () => void; parseUserInput(value: string): string; handleKeyDown: (event: React.KeyboardEvent) => void; handleMouseDown: (increment: number) => void; handleMouseUp: () => void; handleIncrementValue: (difference: number) => void; repeat: (increment: number) => void; getInputMaxLength: () => number; render(): import("react/jsx-runtime").JSX.Element; } export default NumberComponent; export declare const WrappedNumberComponent: (props: import("../../Form/formField").FormFieldProps) => import("react/jsx-runtime").JSX.Element;