import { ViewStyle, StyleProp, KeyboardType } from 'react-native'; import { DialogCustomProps, DialogElse } from 'tuya-panel-kit'; interface SetPasswordProps { keyboardType?: KeyboardType; passwordLength?: number; normalDotColor?: string; activedDotColor?: string; containerStyle?: StyleProp; passwordRowStyle?: StyleProp; dotStyle?: StyleProp; dotMarginHorizontal?: number; renderPasswordItem?: (key: number, index: number) => JSX.Element | null; onChangeText?: (value: string) => string | null; } interface SetPasswordModalProps extends SetPasswordProps { title?: string; cancelText?: string; confirmText?: string; onConfirm?: () => void; onCancel?: () => void; dialogOption?: DialogCustomProps; dialogElseOption?: DialogElse; } export { SetPasswordProps, SetPasswordModalProps };