import React from "react"; import type { FocusType } from "../Input"; import type { InputRef } from "antd/es"; import type { ControlledFormValue } from "../../internal/type"; import "./index.less"; export type { InputRef }; export interface Props extends ControlledFormValue { /** Whether `null` is allowed in `value` */ allowNull: AllowNull; /** Clear button to clear value */ allowClear?: boolean; /** Set number of decimal points for `value`. Important due to floating point precision issues */ scale?: number; /** Minimum value allowed as input. Out of range values are discarded onBlur, and does not trigger onChange. */ min?: number; /** Maximum value allowed as input. Out of range values are discarded onBlur, and does not trigger onChange. */ max?: number; /** Whether the input field should be editable */ editable?: boolean; /** Set the increment/decrement stepper display options */ stepperMode?: "outlined" | "no-border"; /** Set the interval to increment/decrement with stepper */ step?: number; /** Callback function to render value onBlur */ displayRenderer?: (value: number) => string; /** Whether the input field is disabled */ disabled?: boolean; /** Placeholder text to display when input field is empty */ placeholder?: string; /** Additional className for input field */ className?: string; /** Additional style for input field */ inputStyle?: React.CSSProperties; /** Additional component to render after input field */ suffix?: React.ReactElement | string | number | null; /** Additional component to render before input field */ prefix?: React.ReactElement | string | number | null; /** Optional Input Ref */ inputRef?: React.RefObject; /** Auto focus when input first shown */ autoFocus?: boolean; /** Set cursor and input behavior when focus */ focus?: FocusType; onFocus?: (event: React.FocusEvent) => void; } export declare const NumberInput: ((props: Props) => React.JSX.Element) & { Percentage: (props: import("./NumberInputPercentage").Props) => React.JSX.Element; };