import type { PatternRule } from '../../types.js'; /** Spanish DNI/NIF: eight digits and a letter taken from the number modulo 23. */ export declare function nifChecksum(raw: string): boolean; /** Spanish NIE: the same rule after mapping the leading X/Y/Z to 0/1/2. */ export declare function nieChecksum(raw: string): boolean; export declare const esNifRule: PatternRule; export declare const esNieRule: PatternRule; //# sourceMappingURL=nif.d.ts.map