import { HTMLAttributes } from 'react'; import { PressProps } from '../../interactions/press'; export interface UseSpinButtonProps { min?: number; max?: number; value?: number; textValue?: string; disabled?: boolean; readOnly?: boolean; required?: boolean; onIncrement?: () => void; onExtraIncrement?: () => void; onDecrement?: () => void; onExtraDecrement?: () => void; onIncrementToMax?: () => void; onDecrementToMin?: () => void; } export interface UseSpinButtonResult { spinButtonProps: HTMLAttributes; incrementButtonProps: PressProps; decrementButtonProps: PressProps; } export declare function useSpinButton(props: UseSpinButtonProps): UseSpinButtonResult;