import * as React from 'react'; import { AnchorUIComponentProps } from '../../utils/types.js'; import type { SliderRoot } from '../root/SliderRoot.js'; import { useSliderThumb } from './useSliderThumb.js'; /** * The draggable part of the the slider at the tip of the indicator. * Renders a `
` element. * * Documentation: [Anchor UI Slider](https://anchorui.com/react/components/slider) */ declare const SliderThumb: React.ForwardRefExoticComponent>; export declare namespace SliderThumb { interface State extends SliderRoot.State { } interface Props extends Partial>, Omit, 'render' | 'tabIndex'> { onPointerLeave?: React.PointerEventHandler; onPointerOver?: React.PointerEventHandler; onBlur?: React.FocusEventHandler; onFocus?: React.FocusEventHandler; onKeyDown?: React.KeyboardEventHandler; /** * Allows you to replace the component’s HTML element * with a different tag, or compose it with another component. * * Accepts a `ReactElement` or a function that returns the element to render. */ render?: ((props: React.ComponentPropsWithRef<'div'>, inputProps: React.ComponentPropsWithRef<'input'>, state: State) => React.ReactElement) | (React.ReactElement & { ref: React.Ref; }); } } export { SliderThumb };