import { type RefObject } from 'react'; import { getInteraction } from '@instructure/ui-react-utils'; import { Renderable } from '@instructure/shared-types'; /** --- category: components id: NumberInput --- **/ declare const NumberInput: import("react").ForwardRefExoticComponent & { renderLabel: Renderable; id?: string; interaction?: import("@instructure/ui-react-utils").InteractionType; messages?: import("@instructure/ui-form-field/latest").FormMessage[]; placeholder?: string; isRequired?: boolean; showArrows?: boolean; size?: "medium" | "large"; value?: string | number; width?: string; display?: "inline-block" | "block"; inputRef?: (element: HTMLInputElement | null) => void; onFocus?: (event: React.FocusEvent) => void; onBlur?: (event: React.FocusEvent) => void; onChange?: (event: React.ChangeEvent, value: string) => void; onDecrement?: (event: React.KeyboardEvent | React.MouseEvent) => void; onIncrement?: (event: React.KeyboardEvent | React.MouseEvent) => void; onKeyDown?: (event: React.KeyboardEvent) => void; inputMode?: "numeric" | "decimal" | "tel"; textAlign?: "start" | "center"; allowStringValue?: boolean; renderIcons?: { increase: Renderable; decrease: Renderable; }; margin?: import("@instructure/emotion").Spacing; } & import("@instructure/emotion").NewThemeOverrideProp & Omit void; onFocus?: (event: React.FocusEvent) => void; onBlur?: (event: React.FocusEvent) => void; onChange?: (event: React.ChangeEvent, value: string) => void; onDecrement?: (event: React.KeyboardEvent | React.MouseEvent) => void; onIncrement?: (event: React.KeyboardEvent | React.MouseEvent) => void; onKeyDown?: (event: React.KeyboardEvent) => void; inputMode?: "numeric" | "decimal" | "tel"; textAlign?: "start" | "center"; allowStringValue?: boolean; renderIcons?: { increase: Renderable; decrease: Renderable; }; margin?: import("@instructure/emotion").Spacing; } & Element>, keyof { renderLabel: Renderable; id?: string; interaction?: import("@instructure/ui-react-utils").InteractionType; messages?: import("@instructure/ui-form-field/latest").FormMessage[]; placeholder?: string; isRequired?: boolean; showArrows?: boolean; size?: "medium" | "large"; value?: string | number; width?: string; display?: "inline-block" | "block"; inputRef?: (element: HTMLInputElement | null) => void; onFocus?: (event: React.FocusEvent) => void; onBlur?: (event: React.FocusEvent) => void; onChange?: (event: React.ChangeEvent, value: string) => void; onDecrement?: (event: React.KeyboardEvent | React.MouseEvent) => void; onIncrement?: (event: React.KeyboardEvent | React.MouseEvent) => void; onKeyDown?: (event: React.KeyboardEvent) => void; inputMode?: "numeric" | "decimal" | "tel"; textAlign?: "start" | "center"; allowStringValue?: boolean; renderIcons?: { increase: Renderable; decrease: Renderable; }; margin?: import("@instructure/emotion").Spacing; } | "dir"> & { dir?: "ltr" | "rtl"; } & import("@instructure/ui-react-utils").WithDeterministicIdProps & import("react").RefAttributes>; export interface NumberInputHandle { focus: () => void; readonly id: string | undefined; readonly invalid: boolean; readonly interaction: ReturnType; readonly value: string | undefined; readonly ref: RefObject; } export default NumberInput; export { NumberInput }; //# sourceMappingURL=index.d.ts.map