/** * Intelligence resource client. * * Wraps all /v1/intelligence endpoints: * - entityProfile GET /v1/intelligence/entity/:uei * - marketAnalysis GET /v1/intelligence/market/:naics * - complianceCheck POST /v1/intelligence/compliance-check */ import type { HttpClient, ParsedResponse } from '../http.cjs'; import type { EntityIntelProfile, MarketAnalysis, CompliancePackage, ComplianceCheckRequestParams } from '../types/intelligence.cjs'; export declare class IntelligenceResource { private readonly http; constructor(http: HttpClient); /** * Get a comprehensive 360° intelligence profile for a vendor. * * Aggregates: contract history, agency relationships, certifications, * exclusion status, and risk indicators into a single response. * * @param uei Unique Entity Identifier (12-char alphanumeric). * @throws {NotFoundError} If the entity does not exist in SAM.gov. * * @example * ```ts * const profile = await client.intelligence.entityProfile('ABCDEF123456'); * console.log('Contract count:', profile.data.contractCount); * console.log('Risk:', profile.data.riskLevel); * ``` */ entityProfile(uei: string): Promise>; /** * Get a market analysis for a specific NAICS code. * * Returns: top awardees, top agencies, set-aside breakdown, active solicitations, * total market size, and recent award trends. * * @param naics Exactly 6-digit NAICS code (e.g. "541512"). * * @example * ```ts * const market = await client.intelligence.marketAnalysis('541512'); * console.log('Market size (cents):', market.data.totalMarketSize); * console.log('Top awardee:', market.data.topAwardees[0]?.name); * ``` */ marketAnalysis(naics: string): Promise>; /** * Perform a full compliance check for a vendor. * * Returns: exclusion status, SAM.gov registration status, risk score, * and risk indicators in one API call. * * @param params Object containing the UEI to check. * @throws {NotFoundError} If the entity does not exist in SAM.gov. * * @example * ```ts * const compliance = await client.intelligence.complianceCheck({ uei: 'ABCDEF123456' }); * if (compliance.data.excluded || compliance.data.riskLevel === 'high') { * console.warn('Do not contract with this vendor.'); * } * ``` */ complianceCheck(params: ComplianceCheckRequestParams): Promise>; } //# sourceMappingURL=intelligence.d.ts.map