import * as react from 'react'; import { ReactElement, SyntheticEvent, ComponentProps } from 'react'; import * as react_jsx_runtime from 'react/jsx-runtime'; import { ResponsiveProp } from '../../styling/src/useResponsiveValue.js'; import { OmitInternalProps } from '../../shared/src/types.js'; import { AbstractInputProps } from '../../input/src/types.js'; import { BoxProps } from '../../box/src/Box.js'; import '../../styling/src/BreakpointProvider.js'; import '../../styling/src/styled-system/props-handler.js'; import 'csstype'; import '../../shared/src/type-fest.js'; import '../../styling/src/styled-system/StylingContext.js'; import '../../group/src/Group.js'; import '../../layout/src/Flex.js'; declare const DefaultElement = "input"; interface InnerNumberInputProps extends Omit, "max" | "min" | "step" | "value"> { /** * The default value of `value` when uncontrolled. */ defaultValue?: number; /** * Whether or not the input take up the width of its container. */ fluid?: ResponsiveProp; /** * [Icon](/?path=/docs/icon--default-story) component rendered before the value. */ icon?: ReactElement; /** * Whether or not to render a loader. */ loading?: boolean; /** * The maximum value of the input. */ max?: number; /** * The minimum value of the input. */ min?: number; /** * Called when the input value change. * @param {SyntheticEvent} event - React's original event. * @param {number} value - The new value. * @returns {void} */ onValueChange?: (event: SyntheticEvent, value: number) => void; /** * The step used to increment or decrement the value. */ step?: number; /** * A controlled value. */ value?: number | null; /** * Additional props to render on the wrapper element. */ wrapperProps?: Partial; } declare function InnerNumberInput(props: InnerNumberInputProps): react_jsx_runtime.JSX.Element; declare namespace InnerNumberInput { var defaultElement: string; } /** * A number input is used to let the user enter a numeric value. * * [Documentation](https://wl-orbiter-website.netlify.app/?path=/docs/number-input--default-story) */ declare const NumberInput: react.ForwardRefExoticComponent, "ref"> & react.RefAttributes>; type NumberInputProps = ComponentProps; export { InnerNumberInput, type InnerNumberInputProps, NumberInput, type NumberInputProps };