import { Temporal } from 'temporal-polyfill'; /** * Belgian Social Security Number (Rijksregisternummer) utility * * Format: YY.MM.DD-XXX.XX or YYMMDDXXXXX * - First 6 digits: birthdate (YYMMDD) * - Next 3 digits: sequence number (odd for males, even for females) * - Last 2 digits: checksum (97 - (first 9 digits mod 97)) * * For people born after 2000, the checksum is calculated with '2' prepended to the 9 digits */ export declare class BelgianSsnUtil { /** * Extracts the birthdate from a Belgian SSN * Returns null if the SSN is invalid or birthdate cannot be determined */ static extractBirthdate(ssn: string): Temporal.PlainDate | null; /** * Checks if the country code indicates Belgium */ static isBelgianCountry(country: string | null | undefined): boolean; /** * Validates a Belgian SSN format and checksum */ static isValid(ssn: string): boolean; /** * Removes formatting (dots and dashes) from the SSN */ static normalize(ssn: string): string; }