/** * License resolution and dependency license compatibility for component analysis. */ export { getProjectLicense, findLicenseFilePath, identifyLicense } from './project_license.js'; export { licensesFromReport, normalizeLicensesResponse, getLicenseDetails } from './licenses_api.js'; export { getCompatibility } from './license_utils.js'; /** * Run full license check: resolve project license (with backend identification and details), * get dependency licenses from analysis report, and compute incompatibilities. * * @param {string} sbomContent - CycloneDX SBOM JSON string (the one sent for component analysis) * @param {string} manifestPath - path to manifest * @param {string} url - the backend url to send the request to * @param {import('../index.js').Options} [opts={}] * @param {import('@trustify-da/trustify-da-api-model/model/v5/AnalysisReport.ts').AnalysisReport} [analysisResult] - analysis result that includes licenses array from backend * @returns {Promise<{ projectLicense: { manifest: Object|null, file: Object|null, mismatch: boolean }, incompatibleDependencies: Array<{ purl: string, licenses: string[], category?: string, reason: string }>, error?: string }>} */ export declare function runLicenseCheck(sbomContent: string, manifestPath: string, url: string, opts?: import('../index.js').Options, analysisResult?: import('@trustify-da/trustify-da-api-model/model/v5/AnalysisReport.ts').AnalysisReport): Promise<{ projectLicense: { manifest: Object | null; file: Object | null; mismatch: boolean; }; incompatibleDependencies: Array<{ purl: string; licenses: string[]; category?: string; reason: string; }>; error?: string; }>;