import { a as LookupResult } from './lookup-result-DXCBA61F.js'; import { b as DatasetChanges, c as DatasetVerification } from './types-CnePu8im.js'; interface Cnae { codigo: string; descricao: string; } interface CnaesDataVersion { id: 'cnaes'; nome: string; fonte: string; endpoints: string[]; capturadoEm: string; atualizadoEm: string; contagens: { cnaes: number; }; alteracoes: DatasetChanges; verificacao: DatasetVerification; documentacao: string; } /** * IBGE CNAE 2.3 subclass lookup — offline embedded data from official IBGE API. * @see https://servicodados.ibge.gov.br/api/docs/cnae */ /** Returns every embedded CNAE subclass (in-memory reference, not a copy). */ declare function getAllCnae(): readonly Cnae[]; /** @deprecated Use {@link getAllCnae} instead. Removed in v2.0. */ declare function getCnaes(): readonly Cnae[]; declare function lookupCnaePorCodigo(codigo: string): LookupResult; declare function getCnaePorCodigo(codigo: string): Cnae | undefined; declare function searchCnaes(query: string, options?: { limit?: number; }): readonly Cnae[]; declare const CNAES_SUBCLASSES_URL = "https://servicodados.ibge.gov.br/api/v2/cnae/subclasses"; /** RFB CNPJ open-data CNAE table — parity reference for fiscal subclass codes. */ declare const CNAES_RFB_CNAES_ZIP_BASE_URL = "https://dadosabertos.rfb.gov.br/CNPJ/dados_abertos_cnpj"; declare const CNAES_GOLDEN_DESENVOLVIMENTO_PROGRAMAS = "6201501"; declare const CNAES_GOLDEN_WEB_DESIGN = "6201502"; declare const CNAES_MIN_SUBCLASSES = 1200; declare const CNAES_MAX_SUBCLASSES = 1500; declare const CNAES_DATA_VERSION: CnaesDataVersion; export { CNAES_DATA_VERSION, CNAES_GOLDEN_DESENVOLVIMENTO_PROGRAMAS, CNAES_GOLDEN_WEB_DESIGN, CNAES_MAX_SUBCLASSES, CNAES_MIN_SUBCLASSES, CNAES_RFB_CNAES_ZIP_BASE_URL, CNAES_SUBCLASSES_URL, type Cnae, type CnaesDataVersion, getAllCnae, getCnaePorCodigo, getCnaes, lookupCnaePorCodigo, searchCnaes };