export type CardType = 'visa' | 'mastercard' | 'amex' | 'discover' | 'jcb' | 'dinersclub' | 'unionpay' | 'maestro' | 'rupay' | 'troy' | 'electron' | 'unknown'; export interface CustomCardTheme { gradient?: { start: string; end: string; }; textColor?: string; } export interface CardLabels { cardholderName?: string; expiry?: string; cvc?: string; } export interface CardPlaceholders { cardNumber?: string; cardHolderName?: string; expiry?: string; cvc?: string; } export interface FlipAnimationConfig { duration?: number; friction?: number; perspective?: number; flipHorizontal?: boolean; flipVertical?: boolean; useNativeFlip?: boolean; } export type Props = Readonly<{ cardNumber?: string; cardHolderName?: string; expiry?: string; cvc?: string; isBackVisible?: boolean; cardType?: CardType; customTheme?: CustomCardTheme; customCardThemes?: Partial>; labels?: CardLabels; placeholders?: CardPlaceholders; flipAnimation?: FlipAnimationConfig; useCustomFlipCard?: boolean; autoDetectCardType?: boolean; }>;