import { RefAttributes, default as React } from 'react'; import { Size } from '../../../types'; import { CommonInputProps } from '../types'; export interface CounterInputProps extends RefAttributes, Omit, 'value' | 'defaultValue' | 'loading'> { /** * The controlled value of the counter input. */ value?: number | null; /** * The uncontrolled default value of the counter input. */ defaultValue?: number | null; /** * Minimum allowed value. */ min?: number | string; /** * Maximum allowed value. */ max?: number | string; /** * Step value for increment/decrement. * @default 1 */ step?: number; /** * Width of the number input. * @default 'xs' */ width?: Extract; } export declare const CounterInput: { ({ value, defaultValue, min, max, step, width, disabled, error, warning, onChange, onBlur, onFocus, label, ref: forwardedRef, ...props }: CounterInputProps): React.JSX.Element; displayName: string; };