import * as React from 'react'; export interface ColorPickerProps extends React.Props { /** Use row or vertical layout */ row?: boolean, /** Enables snapping on the center of wheel and edges of wheel and slider */ noSnap?: boolean, /** Wheel color thumb size */ thumbSize?: number, /** Slider and slider color thumb size */ sliderSize?: number, /** Gap size between wheel & slider */ gapSize?: number, /** Use swatches of shades instead of slider */ discrete?: boolean, /** Number of swatches of shades, should be > 1 */ discreteLength?: number, /** If true the slider is hidden */ sliderHidden?: boolean, /** Show color swatches */ swatches?: boolean, /** If false swatches are shown before wheel */ swatchesLast?: boolean, /** Show swatch only and hide wheel and slider */ swatchesOnly?: boolean, /** Defines how far the touch event can start away from the swatch */ swatchesHitSlop?: {top: number, left: number, bottom: number, right: number}, /** Color of the color picker */ color?: string, /** Palette colors of swatches */ palette?: string[], /** If true the wheel thumb color is shaded */ shadeWheelThumb?: boolean, /** If true the slider thumb color is shaded */ shadeSliderThumb?: boolean, /** If true the slider thumb is reset to 0 value when wheel thumb is moved */ autoResetSlider?: boolean, /** Callback function triggered when user begins dragging slider/wheel */ onInteractionStart?: () => void, /** Callback function providing current color while user is actively dragging slider/wheel */ onColorChange?: (color: string) => void, /** Callback function providing final color when user stops dragging slider/wheel */ onColorChangeComplete?: (color: string) => void, /** Wheel image loading component eg: */ wheelLoadingIndicator?: React.ReactNode, /** Slider image loading component eg: */ sliderLoadingIndicator?: React.ReactNode, /** To use useNativeDriver for animations if possible */ useNativeDriver?: boolean, /** To use onLayoutEvent.nativeEvent.layout instead of measureInWindow for x, y, width, height values for wheel and slider measurements which may be useful to prevent some layout problems */ useNativeLayout?: boolean, /** Disable all interactions */ disabled?: boolean, /** Flip touch positioning on X axis, might be useful in UI with RTL support */ flipTouchX?: boolean, /** Flip touch positioning on Y axis, might be useful in UI with RTL support */ flipTouchY?: boolean, /** If true the wheel is hidden, does not work with sliderHidden = true */ wheelHidden?: boolean, } declare class ColorPicker extends React.Component { revert(): void; } declare module 'react-native-wheel-color-picker-master' { } export default ColorPicker;