export interface SmartOTPFieldProps { name: string; length?: 4 | 6 | 8; placeholder?: string; autoFocus?: boolean; autoSubmit?: boolean; secureTextEntry?: boolean; style?: any; inputStyle?: any; errorStyle?: any; labelStyle?: any; label?: string; onComplete?: (code: string) => void; onCodeChange?: (code: string) => void; } export interface OTPFieldConfig { type: 'otp'; required?: boolean; length?: 4 | 6 | 8; autoSubmit?: boolean; customValidation?: (value: string) => string | null; }