import { CardType } from '../components/creditCard/props'; /** * Determines the card type based on card number * Detection order is important to avoid conflicts between card types */ export declare const getCardType: (cardNumber: string) => CardType; /** * Formats card number with spaces for display */ export declare const formatCardNumber: (cardNumber: string) => string; /** * Formats expiry date input (MM/YY format) */ export declare const formatExpiryDate: (text: string) => string; /** * Validates card number using Luhn algorithm */ export declare const validateCardNumber: (cardNumber: string) => boolean; /** * Validates expiry date (MM/YY format) */ export declare const validateExpiryDate: (expiry: string) => boolean; /** * Validates CVC code */ export declare const validateCVC: (cvc: string) => boolean;