declare module 'react-native-smooth-pincode-input' {
  import { Component } from 'react';
  import { TextStyle, ViewStyle } from 'react-native';

  interface SmoothPinCodeInputProps {
    value?: string;
    codeLength?: number;
    cellSize?: number;
    cellSpacing?: number;
    password?: boolean;
    mask?: string;
    onTextChange?: (code: string) => void;
    containerStyle?: ViewStyle;
    cellStyle?: ViewStyle;
    cellStyleFocused?: ViewStyle;
    textStyle?: TextStyle;
    textStyleFocused?: TextStyle;
  }

  export default class SmoothPinCodeInput extends Component<SmoothPinCodeInputProps> {}
}
