import { B as Brand } from './card-BdHBF4_R.cjs'; export { a as BRANDS, b as BrandSpec, C as CardData, c as CardInstance, d as CardOptions, e as CardSlot, f as CardVariant, g as CopyField, F as FocusedField, h as brandFromStripe, i as createCard, j as detectBrand, k as getBrandSpec } from './card-BdHBF4_R.cjs'; declare const LOGOS: Record; declare function normalizeDigits(value: string, maxLength?: number): string; /** Group the typed digits with spaces according to the brand ('4-6-5' for Amex, etc.). */ declare function formatCardNumber(raw: string, brand?: Brand | null): string; /** * Like formatCardNumber but pads the missing digits with a mask character up * to the brand's conventional display length, so the card face always shows a * full number silhouette ('4111 11•• •••• ••••'). */ declare function maskCardNumber(raw: string, brand?: Brand | null, maskChar?: string): string; /** * A fully masked number with only the last digits visible * ('•••• •••• •••• 4242') — for saved cards or post-tokenization summaries * where only the last4 is known (e.g. Stripe's PaymentMethod.card.last4). */ declare function maskLast4(last4: string, brand?: Brand | null, maskChar?: string): string; /** Normalize an expiry to 'MM/YY'. Accepts '1224', '12/24', '12/2024', '1/24'… */ declare function formatExpiry(raw: string, maskChar?: string): string; /** Mask a CVC to its expected length ('•••' or '••••' for Amex). */ declare function maskCvc(raw: string, brand?: Brand | null, maskChar?: string): string; /** The CVC digits themselves, capped to the brand's expected length. */ declare function formatCvc(raw: string, brand?: Brand | null): string; export { Brand, LOGOS, formatCardNumber, formatCvc, formatExpiry, maskCardNumber, maskCvc, maskLast4, normalizeDigits };