import { Animated, PanResponderGestureState, GestureResponderEvent, StyleProp } from 'react-native'; export declare type CurtainType = 'oneSide' | 'roller' | 'trietex'; export declare type ControlType = 'open' | 'close' | 'stop'; export declare type StyleType = 'flat' | 'zoosemy'; export declare type ImageType = string | number; export declare const CurtainGestureTag: { leftCurtain: string; rightCurtain: string; leftCircle: string; rightCircle: string; }; export interface CommonResponder { (e: GestureResponderEvent, gestureState: PanResponderGestureState): any; } export interface PanResponderHandler { grant: CommonResponder; move: CommonResponder; release: CommonResponder; } export interface IGesture { leftCurtain?: any; rightCurtain?: any; leftCircle?: any; rightCircle?: any; } export interface IProps { style: StyleProp; curtainType: CurtainType; styleType: StyleType; value: number; range: number[]; disabled: boolean; control: ControlType; totalTime: number; curtainCeilImage: ImageType; curtainBgImage: ImageType; curtainCeilColor: ControlType; curtainBgColor: ControlType; buttonColor: ControlType; curtainBgWidth: number; curtainBgHeight: number; curtainWidth: number; curtainHeight: number; min: number; max: number; codes: { [key: string]: string; }; onSlideTo: (value: number) => any; textColor: string; openingText?: string; closingText?: string; staticPrefix: string; } export interface IState { curtainCeilAnimate: Animated.AnimatedValue; circleAnimate: Animated.AnimatedValue; }