import * as React from 'react'; import type { AnchorUIComponentProps } from '../../utils/types.js'; import type { NumberFieldRoot } from '../root/NumberFieldRoot.js'; /** * An interactive area where the user can click and drag to change the field value. * Renders a `
` element. * * Documentation: [Anchor UI Number Field](https://anchorui.com/react/components/number-field) */ declare const NumberFieldScrubArea: React.ForwardRefExoticComponent>; declare namespace NumberFieldScrubArea { interface State extends NumberFieldRoot.State { } interface Props extends AnchorUIComponentProps<'span', State> { /** * Cursor movement direction in the scrub area. * @default 'horizontal' */ direction?: 'horizontal' | 'vertical'; /** * Determines how many pixels the cursor must move before the value changes. * A higher value will make scrubbing less sensitive. * @default 2 */ pixelSensitivity?: number; /** * If specified, determines the distance that the cursor may move from the center * of the scrub area before it will loop back around. */ teleportDistance?: number | undefined; } } export { NumberFieldScrubArea };