import { type SharedValue } from "react-native-reanimated"; import type { ISliderAnimatedColors, ISliderSizes } from "./types"; type TSliderThumbKind = "single" | "lower" | "upper"; interface ISliderThumb { kind: TSliderThumbKind; position: SharedValue; otherPosition?: SharedValue; isInteracting: SharedValue; semanticValue: number; accessibilityMin: number; accessibilityMax: number; accessibilityLabel?: string; accessibilityHint?: string; min: number; max: number; step: number; sizes: ISliderSizes; colors: ISliderAnimatedColors; initialThumbColor: string; /** * Optional JS-side live semantic update. * * The worklet calls this only when the snapped value changes, * never for every gesture frame. */ onChange?: (value: number, otherValue?: number) => void; /** * Completes one successful interaction whose final semantic value differs * from the value at interaction start. emitChange tells JS whether the final * snapped value still needs to be delivered to the live callback first. */ onFinish: (value: number, otherValue: number | undefined, emitChange: boolean) => void; /** * Optional controlled-state reconciliation when the gesture ends without * a semantic finish callback (for example cancellation or a no-op release). */ onReconcile?: () => void; showTooltip: boolean; disabled: boolean; testID?: string; } export declare const SliderThumb: import("react").MemoExoticComponent<({ kind, position, otherPosition, isInteracting, semanticValue, accessibilityMin, accessibilityMax, accessibilityLabel, accessibilityHint, min, max, step, sizes, colors, initialThumbColor, onChange, onFinish, onReconcile, showTooltip, disabled, testID, }: ISliderThumb) => import("react/jsx-runtime").JSX.Element>; export {};