import { K as TelefoneValidationResult, F as FormatResult } from './validation-result-D4Wrxl7j.js'; export { D as DocumentFormat, T as Telefone, J as TelefoneTipo, V as ValidationErrorCode } from './validation-result-D4Wrxl7j.js'; import { b as DatasetChanges, c as DatasetVerification } from './types-CnePu8im.js'; /** 67 official Anatel national area codes (CN / DDD). */ declare const ANATEL_DDDS: readonly ["11", "12", "13", "14", "15", "16", "17", "18", "19", "21", "22", "24", "27", "28", "31", "32", "33", "34", "35", "37", "38", "41", "42", "43", "44", "45", "46", "47", "48", "49", "51", "53", "54", "55", "61", "62", "64", "63", "65", "66", "67", "68", "69", "71", "73", "74", "75", "77", "79", "81", "87", "82", "83", "84", "85", "88", "86", "89", "91", "93", "94", "92", "97", "95", "96", "98", "99"]; declare const ANATEL_DDD_SET: ReadonlySet; declare const TELEFONE_GOLDEN_CELULAR = "11999999999"; declare const TELEFONE_GOLDEN_CELULAR_MASKED = "(11) 99999-9999"; declare const TELEFONE_GOLDEN_FIXO = "1133333333"; declare const TELEFONE_GOLDEN_FIXO_MASKED = "(11) 3333-3333"; declare const TELEFONE_OFFICIAL_SOURCE_URL = "https://www.gov.br/anatel/pt-br/regulado/numeracao/plano-de-numeracao-brasileiro"; declare const TELEFONE_ANATEL_DDD_PANEL_URL = "https://informacoes.anatel.gov.br/paineis/areas-tarifarias/codigos-nacionais"; interface DddInfo { ddd: string; uf: string; regiao: string; municipios: readonly string[]; } interface TelefoneDddDataVersion { id: 'telefone-ddd'; nome: string; fonte: string; endpoints: string[]; capturadoEm: string; atualizadoEm: string; contagens: { ddds: number; }; alteracoes: DatasetChanges; verificacao: DatasetVerification; documentacao: string; } /** * Anatel DDD geographic lookup — offline embedded data. * @see https://informacoes.anatel.gov.br/paineis/areas-tarifarias/codigos-nacionais */ declare function getDddInfo(ddd: string): DddInfo | undefined; declare const TELEFONE_DDD_DATA_VERSION: TelefoneDddDataVersion; declare function isValidTelefone(input: string): boolean; declare function validateTelefone(input: string): TelefoneValidationResult; /** Digits only from input (no country/trunk normalization). */ declare function extractTelefoneDigits(input: string): string; /** * National canonical form: DDD + local digits (10 or 11 digits). * Strips +55 country code and leading domestic trunk `0` when present. */ declare function normalizeTelefoneDigits(input: string): string; /** @see normalizeTelefoneDigits */ declare function stripTelefone(input: string): string; declare function formatTelefone(input: string): FormatResult; export { ANATEL_DDDS, ANATEL_DDD_SET, type DddInfo, FormatResult, TELEFONE_ANATEL_DDD_PANEL_URL, TELEFONE_DDD_DATA_VERSION, TELEFONE_GOLDEN_CELULAR, TELEFONE_GOLDEN_CELULAR_MASKED, TELEFONE_GOLDEN_FIXO, TELEFONE_GOLDEN_FIXO_MASKED, TELEFONE_OFFICIAL_SOURCE_URL, type TelefoneDddDataVersion, TelefoneValidationResult, extractTelefoneDigits, formatTelefone, getDddInfo, isValidTelefone, normalizeTelefoneDigits, stripTelefone, validateTelefone };