import type { MaskableType } from './types'; /** * Luhn mod-10 checksum used by issued PAN formats. Rejects numeric strings * of plausible card length that aren't valid card numbers, cutting the * false-positive rate of the regex-only heuristic substantially. */ export declare function passesLuhn(digits: string): boolean; export declare const Detectors: { isEmail: (v: string) => boolean; isPhone: (v: string) => boolean; isCard: (v: string) => boolean; isAddress: (v: string) => boolean; isName: (v: string) => boolean; isIp: (v: string) => boolean; isJwt: (v: string) => boolean; isUrl: (v: string) => boolean; isSensitiveKey: (key: string) => boolean; /** * Detect the type of a string value using pre-compiled patterns. * Order matters: more specific patterns first so cards don't lose to phone. */ detectType(value: string): MaskableType; }; //# sourceMappingURL=detectors.d.ts.map