import * as numberUtils from "@vertigis/arcgis-extensions/utilities/format/number"; import type { NumberInputProps as GcxNumberInputProps } from "@vertigis/react-ui/NumberInput"; import type { TranslatableText } from "@vertigis/viewer-spec/app-config/common/TranslatableText"; import type { InputProps as GcxInputProps } from "../Input"; /** * Properties for the `NumberInput` component. */ export type NumberInputProps = Omit & { title?: TranslatableText; "aria-label"?: TranslatableText; placeholder?: TranslatableText; inputProps?: Omit & { min?: number; max?: number; title?: TranslatableText; "aria-label"?: TranslatableText; placeholder?: TranslatableText; }; /** * The format to be used for number formatting. */ format?: string | numberUtils.FormatOptions; /** * Options that control how the user's input is parsed. * * NOTE: When specifying this option, make sure that `format` (the display * format) is one of the allowed parse formats, or else the control may be * unusable. */ parseFormat?: string | string[] | numberUtils.ParseOptions; }; /** * A number input component that uses Web's localization subsystem for number * formatting and parsing. */ declare const NumberInput: import("react").ForwardRefExoticComponent & import("react").RefAttributes>; export default NumberInput;