`.
* The root slot receives the `className` and `style` specified on the `
`.
* All other native props are applied to the primary slot: `input`.
*/
root: NonNullable>;
/**
* Input that displays the current value and accepts direct input from the user.
* Displayed value is formatted.
*
* This is the primary slot.
*/
input: NonNullable>;
/**
* Renders the increment control.
*/
incrementButton: NonNullable>;
/**
* Renders the decrement control.
*/
decrementButton: NonNullable>;
};
export declare type SpinButtonSpinState = 'rest' | 'up' | 'down';
/**
* State used in rendering SpinButton
*/
export declare type SpinButtonState = ComponentState & Required> & {
/**
* State used to track which direction, if any, SpinButton is currently spinning.
* @default 'rest'
*/
spinState: SpinButtonSpinState;
/**
* State used to track if the value is at the range bounds of [min-max].
* @default 'none'
*/
atBound: SpinButtonBounds;
};
/**
* Create the state required to render SpinButton.
*
* The returned state can be modified with hooks such as useSpinButtonStyles_unstable,
* before being passed to renderSpinButton_unstable.
*
* @param props - props from this instance of SpinButton
* @param ref - reference to root HTMLElement of SpinButton
*/
export declare const useSpinButton_unstable: (props: SpinButtonProps, ref: React_2.Ref) => SpinButtonState;
/**
* Apply styling to the SpinButton slots based on the state
*/
export declare const useSpinButtonStyles_unstable: (state: SpinButtonState) => SpinButtonState;
export { }