import { StyleProp, TextStyle, ViewStyle } from 'react-native'; import { ProgressProps } from 'tuya-panel-kit'; export interface StopsProps { offset: string; stopColor: string; stopOpacity: string; } export interface AddProgressProps { isCustomProgressChange?: boolean; devIds?: Array; foreColor?: string | StopsProps[] | { [key: string]: string; }; title?: string; prompt?: string; progressText?: string; progressTextStyle?: StyleProp; progressStyle?: StyleProp; progressProps?: ProgressProps; containerStyle?: StyleProp; titleStyle?: StyleProp; promptStyle?: StyleProp; timeoutSecond?: number; customTotal?: number; customProgress?: number; showButton?: boolean; buttonText?: string; buttonTextStyle?: StyleProp; buttonStyle?: StyleProp; activeOpacity?: number; renderProgressCenterView?: () => JSX.Element; renderButton?: () => JSX.Element; onTimeout?: (progress: number) => void; onFinish?: () => void; onPress?: () => void; }