/** Identity inputs needed to derive the (non-omocodic) codice fiscale. */ export interface CodiceFiscaleInput { /** Family name (cognome). Diacritics are folded; non-letters ignored. */ surname: string; /** Given name (nome). Diacritics are folded; non-letters ignored. */ name: string; /** Date of birth — a `Date` or an ISO `YYYY-MM-DD` (or full ISO) string. */ birthDate: Date | string; /** Biological sex as recorded for the fiscal code: 'M' or 'F'. */ sex: 'M' | 'F'; /** 4-character cadastral / Belfiore code of the birthplace (e.g. H501). */ belfioreCode: string; } /** * Compute the full 16-character (non-omocodic) codice fiscale from a * person's identity data. The caller supplies the 4-char Belfiore code of * the birthplace (the kit does not bundle the municipality table). * * Throws if `birthDate` is unparseable or `belfioreCode` is not 4 * `[A-Z][0-9]{3}`-shaped characters — i.e. a letter followed by 3 digits, * the canonical Belfiore shape. */ export declare function calculateCodiceFiscale(input: CodiceFiscaleInput): string; //# sourceMappingURL=calculate-codice-fiscale.d.ts.map