import type React from 'react'; import type { ViewStyle } from 'react-native'; import type { SvgProps } from 'react-native-svg'; import type { ColorType } from '@hyperOS/styles/Styles'; import type { AccessibilityPropsType } from '@utils/accessibility-helper'; export interface SliderProps { color?: ColorType; min?: number; max?: number; value?: number; step?: number; height?: number; disabled?: boolean; active?: boolean; isPercent?: boolean; mark?: number[]; pattern?: boolean; discrete?: boolean; onChange?: (value: number) => void; onAfterChange?: (value: number) => void; showLabel?: boolean; } export interface VariantSwitchProps extends AccessibilityPropsType { icon?: React.ReactElement; checked?: boolean; disabled?: boolean; onPress?: () => void; onChange: (val: boolean) => void; colorType?: ColorType; accessibilityTitle?: AccessibilityPropsType; } export interface SliderWithToggleProps { sliderProps: SliderProps; buttonProps?: VariantSwitchProps; style?: ViewStyle; spacing?: number; } interface GestureRef { startValue: number; trackWidth: number; min: number; max: number; step: number; } export type { GestureRef };