import { a as LookupResult } from './lookup-result-DXCBA61F.js'; import { b as DatasetChanges, c as DatasetVerification } from './types-CnePu8im.js'; interface PncpReferenceItem { id: number; nome: string; descricao: string; ativo: boolean; } type PncpReferenceTableId = 'modalidades' | 'amparos-legais' | 'modos-disputa' | 'tipos-instrumentos-convocatorios' | 'tipos-contrato' | 'criterios-julgamento' | 'tipos-instrumentos-cobranca' | 'fontes-orcamentarias'; interface PncpReferenceDataVersion { id: 'pncp-reference'; nome: string; fonte: string; endpoints: string[]; capturadoEm: string; atualizadoEm: string; contagens: Record; alteracoes: DatasetChanges; verificacao: DatasetVerification; documentacao: string; } /** * PNCP domain reference lookup — offline embedded tables from Cadastro API. * @see docs/OFFICIAL-SOURCES.md#pncp-reference */ /** Returns every row in a PNCP reference table (in-memory reference, not a copy). */ declare function getAllPncpReference(tableId: PncpReferenceTableId): readonly PncpReferenceItem[]; /** @deprecated Use {@link getAllPncpReference} instead. Removed in v2.0. */ declare function getPncpReferenceTable(tableId: PncpReferenceTableId): readonly PncpReferenceItem[]; declare function lookupPncpReferenceItem(tableId: PncpReferenceTableId, id: number | string): LookupResult; declare function getPncpReferenceItem(tableId: PncpReferenceTableId, id: number | string): PncpReferenceItem | undefined; /** Returns every PNCP procurement modality (in-memory reference, not a copy). */ declare function getAllPncpModalidades(): readonly PncpReferenceItem[]; /** @deprecated Use {@link getAllPncpModalidades} instead. Removed in v2.0. */ declare function getPncpModalidades(): readonly PncpReferenceItem[]; declare function lookupPncpModalidadePorId(id: number | string): LookupResult; declare function getPncpModalidadePorId(id: number | string): PncpReferenceItem | undefined; /** Returns every PNCP legal basis row (in-memory reference, not a copy). */ declare function getAllPncpAmparosLegais(): readonly PncpReferenceItem[]; /** @deprecated Use {@link getAllPncpAmparosLegais} instead. Removed in v2.0. */ declare function getPncpAmparosLegais(): readonly PncpReferenceItem[]; declare function lookupPncpAmparoLegalPorId(id: number | string): LookupResult; declare function getPncpAmparoLegalPorId(id: number | string): PncpReferenceItem | undefined; declare function searchPncpReference(tableId: PncpReferenceTableId, query: string, options?: { limit?: number; }): readonly PncpReferenceItem[]; /** * Normalize CNPJ for PNCP adapter queries — delegates to core strip helper. * @see docs/ADAPTERS-PNCP-RFC.md */ declare function normalizePncpCnpj(input: string): string; declare const PNCP_CADASTRO_BASE_URL = "https://pncp.gov.br/api/pncp/v1"; declare const PNCP_CADASTRO_OPENAPI_URL = "https://pncp.gov.br/api/pncp/v3/api-docs"; declare const PNCP_OPENAPI_URL = "https://pncp.gov.br/api/pncp/v3/api-docs"; declare const PNCP_CONSULTA_BASE_URL = "https://pncp.gov.br/api/consulta"; declare const PNCP_CONSULTA_OPENAPI_URL = "https://pncp.gov.br/api/consulta/v3/api-docs"; declare const PNCP_CONSULTA_SWAGGER_URL = "https://pncp.gov.br/api/consulta/swagger-ui/index.html"; declare const PNCP_GOLDEN_MODALIDADE_ID = 6; declare const PNCP_GOLDEN_MODALIDADE_NAME = "Preg\u00E3o - Eletr\u00F4nico"; declare const PNCP_ADAPTER_PACKAGE = "@br-validators/adapters-pncp"; declare const PNCP_REFERENCE_DATA_VERSION: PncpReferenceDataVersion; export { PNCP_ADAPTER_PACKAGE, PNCP_CADASTRO_BASE_URL, PNCP_CADASTRO_OPENAPI_URL, PNCP_CONSULTA_BASE_URL, PNCP_CONSULTA_OPENAPI_URL, PNCP_CONSULTA_SWAGGER_URL, PNCP_GOLDEN_MODALIDADE_ID, PNCP_GOLDEN_MODALIDADE_NAME, PNCP_OPENAPI_URL, PNCP_REFERENCE_DATA_VERSION, type PncpReferenceDataVersion, type PncpReferenceItem, type PncpReferenceTableId, getAllPncpAmparosLegais, getAllPncpModalidades, getAllPncpReference, getPncpAmparoLegalPorId, getPncpAmparosLegais, getPncpModalidadePorId, getPncpModalidades, getPncpReferenceItem, getPncpReferenceTable, lookupPncpAmparoLegalPorId, lookupPncpModalidadePorId, lookupPncpReferenceItem, normalizePncpCnpj, searchPncpReference };