import { View } from 'react-native'; import type { SliderRootState } from '../root/SliderRoot'; import type { ZestUIComponentProps } from '../../types'; /** * The draggable handle. * Renders a `` positioned along the track. * * The drag itself is owned by `Slider.Control`, which is what gets measured — a * thumb never needs its own gesture. `accessibilityRole="adjustable"` is what * lets assistive technology change the value. */ export declare function SliderThumb(componentProps: SliderThumb.Props): import("react").ReactElement>; export interface SliderThumbState extends SliderRootState { /** * This thumb's index, which matters for range sliders. */ index: number; /** * This thumb's value. */ value: number; /** * This thumb's position as a percentage (0-100) of the track. */ percent: number; } export interface SliderThumbProps extends ZestUIComponentProps { /** * Which value this thumb controls. Range sliders give each thumb its own index. * @default 0 */ index?: number | undefined; } export declare namespace SliderThumb { type State = SliderThumbState; type Props = SliderThumbProps; } //# sourceMappingURL=SliderThumb.d.ts.map