import { e as CartaoCreditoValidationResult, F as FormatResult } from './validation-result-D4Wrxl7j.js'; export { C as CartaoCredito, D as DocumentFormat, V as ValidationErrorCode } from './validation-result-D4Wrxl7j.js'; import { j as CardBrand } from './constants-BqegsAc2.js'; export { C as CARTAO_GOLDEN_AMEX, a as CARTAO_GOLDEN_LUHN_WALKTHROUGH, b as CARTAO_GOLDEN_MASTERCARD, c as CARTAO_GOLDEN_MIN_LENGTH, d as CARTAO_GOLDEN_VISA, e as CARTAO_GOLDEN_VISA_MASKED, f as CARTAO_IEC_SOURCE_URL, g as CARTAO_OFFICIAL_SOURCE_URL, h as CARTAO_PAN_MAX_LENGTH, i as CARTAO_PAN_MIN_LENGTH } from './constants-BqegsAc2.js'; /** * Best-effort card brand from IIN prefix — non-authoritative (BR-LUHN-005). */ declare function detectCardBrand(strippedPan: string): CardBrand; /** * Luhn checksum — ISO/IEC 7812-1 Annex B (modulus-10 double-add-double). * @see BR-LUHN-003 */ declare function computeLuhnSum(pan: string): number; /** ISO/IEC 7812-1 Annex B — returns true when PAN passes Luhn. */ declare function passesLuhn(pan: string): boolean; declare function isValidLuhn(input: string): boolean; declare function isValidCartaoCredito(input: string): boolean; declare function validateCartaoCredito(input: string): CartaoCreditoValidationResult; /** * Strip credit card PAN mask — digits only (BR-LUHN-001). * @see https://www.iso.org/standard/70484.html */ declare function stripCartaoCredito(input: string): string; declare function formatCartaoCredito(input: string): FormatResult; export { CardBrand, CartaoCreditoValidationResult, FormatResult, computeLuhnSum, detectCardBrand, formatCartaoCredito, isValidCartaoCredito, isValidLuhn, passesLuhn, stripCartaoCredito, validateCartaoCredito };