//#region src/parse-passport/parse-passport.d.ts /** * Removes non-alphanumeric characters from a passport number, uppercases it, and caps it to 8 characters. * * @param {string} passport - The string containing a passport number. * @returns {string} The normalized passport number, or an empty string when the value is not * a string (a number is never a passport number: the series is two letters). * * @example * parsePassport("Ab123456") // "AB123456" * parsePassport("Ab-123456") // "AB123456" * parsePassport("Ab -. 123456") // "AB123456" * * @see Official: https://www.gov.br/pf/pt-br/assuntos/passaporte * @see Official: https://www.gov.br/pf/pt-br/assuntos/passaporte/ajuda/duvidas_/caderneta/caderneta-numero-onde-fica-e */ export declare const parsePassport: (passport: string) => string; //#endregion