import React from 'react'; import { NativeProps } from '../../utils/native-props'; import { InputProps, InputRef } from '../input'; declare type ValueProps = { allowEmpty: true; value?: ValueType | null; defaultValue?: ValueType | null; onChange?: (value: ValueType | null) => void; }; declare type ValuePropsWithNull = { allowEmpty?: false; value?: ValueType; defaultValue?: ValueType; onChange?: (value: ValueType) => void; }; export declare type BaseStepperProps = Pick & (ValuePropsWithNull | ValueProps) & { min?: ValueType; max?: ValueType; step?: ValueType; digits?: number; disabled?: boolean; inputReadOnly?: boolean; parser?: (text: string) => ValueType; formatter?: (value?: ValueType) => string; } & NativeProps<'--height' | '--input-width' | '--input-font-size' | '--input-background-color' | '--border-radius' | '--border' | '--border-inner' | '--active-border' | '--button-font-size' | '--button-background-color' | '--button-width' | '--input-font-color' | '--button-text-color'>; export declare type NumberStepperProps = BaseStepperProps & { stringMode?: false; }; export declare type StringStepperProps = BaseStepperProps & { stringMode: true; }; export declare type StepperProps = NumberStepperProps | StringStepperProps; export declare type StepperRef = Pick; export declare function InnerStepper(p: StepperProps, ref: React.ForwardedRef): React.ReactElement>; export declare const Stepper: React.ForwardRefExoticComponent>; export {};