import * as React from 'react'; import { IHasRawProps, IHasCX, IClickable, IDisableable, IEditable, IHasPlaceholder, Icon, CX, ICanBeReadonly, IAnalyticableOnChange, ICanFocus, NumericInputCoreProps } from '@epam/uui-core'; export interface NumericInputProps extends ICanFocus, IHasCX, IClickable, IDisableable, IEditable, IHasPlaceholder, ICanBeReadonly, IAnalyticableOnChange, IHasRawProps>, NumericInputCoreProps { /** Overrides the up/increase icon */ upIcon?: Icon; /** Overrides the down/decrease icon */ downIcon?: Icon; /** CSS classes to put directly on the Input element */ inputCx?: CX; /** Turn off up/down (increase/decrease) buttons */ disableArrows?: boolean; /** Align text inside the component. Useful for tables (in cell-mode) - to align numbers in table column */ align?: 'left' | 'center' | 'right'; /** * Turns off locale-based formatting, standard Number.toString() is used instead * @default false */ disableLocaleFormatting?: boolean; /** Number formatting options. See #{link https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Intl/NumberFormat/NumberFormat} */ formatOptions?: Intl.NumberFormatOptions; /** * A function to convert current input value to displayed text. * Overrides standard Intl-based formatting. * If passed, only maximumFractionDigits considered from formatOptions when both properties provided. * Formatting is applied only when input is not focused. */ formatValue?(value: number): string; } export declare const uuiNumericInput: { readonly upButton: "uui-numeric-input-up-button"; readonly downButton: "uui-numeric-input-down-button"; readonly buttonGroup: "uui-numeric-input-button-group"; readonly withoutArrows: "uui-numeric-input-without-arrows"; }; export declare const NumericInput: React.ForwardRefExoticComponent>; //# sourceMappingURL=NumericInput.d.ts.map