import { a as LookupResult } from './lookup-result-DXCBA61F.js'; import { b as DatasetChanges, c as DatasetVerification } from './types-CnePu8im.js'; interface Cest { codigo: string; descricao: string; ncms: readonly string[]; segmento: string; } interface CestDataVersion { id: 'cest'; nome: string; fonte: string; endpoints: string[]; capturadoEm: string; atualizadoEm: string; contagens: { cest: number; }; alteracoes: DatasetChanges; verificacao: DatasetVerification; documentacao: string; } /** * CONFAZ CEST lookup — offline embedded data from Convênio ICMS 142/2018 annex tables. * @see https://www.confaz.fazenda.gov.br/legislacao/convenios/2018/CV142_18 */ /** Returns every embedded CEST row (in-memory reference, not a copy). */ declare function getAllCest(): readonly Cest[]; /** @deprecated Use {@link getAllCest} instead. Removed in v2.0. */ declare function getCests(): readonly Cest[]; declare function lookupCestPorCodigo(codigo: string): LookupResult; declare function getCestPorCodigo(codigo: string): Cest | undefined; declare function searchCest(query: string, options?: { limit?: number; }): readonly Cest[]; declare function getCestPorNcm(ncm: string): readonly Cest[]; declare const CEST_HTML_URL = "https://www.confaz.fazenda.gov.br/legislacao/convenios/2018/CV142_18"; declare const CEST_GOLDEN_CERVEJA_GARRAFA_RETORNAVEL = "0302100"; declare const CEST_GOLDEN_NCM_CERVEJA = "22030000"; declare const CEST_MIN_CODES = 950; declare const CEST_MAX_CODES = 1050; declare const CEST_DATA_VERSION: CestDataVersion; export { CEST_DATA_VERSION, CEST_GOLDEN_CERVEJA_GARRAFA_RETORNAVEL, CEST_GOLDEN_NCM_CERVEJA, CEST_HTML_URL, CEST_MAX_CODES, CEST_MIN_CODES, type Cest, type CestDataVersion, getAllCest, getCestPorCodigo, getCestPorNcm, getCests, lookupCestPorCodigo, searchCest };