import { type SpdxLicenseConformance } from "../parse.ts"; export interface SpdxFileLicenseConformance extends SpdxLicenseConformance { fileName: string; } export interface SpdxUnidentifiedLicense { licenseId: string; reason: string; } export interface SpdxExtractedResult { /** * List of licenses, each with its SPDX conformance details. * This array includes all licenses found, conforming to the SPDX standards. */ licenses: SpdxFileLicenseConformance[]; /** * A unique list of license identifiers (e.g., 'MIT', 'ISC'). * This list does not contain any duplicate entries. * It represents the distinct licenses identified. */ uniqueLicenseIds: string[]; /** * List of licenses that do not conform to SPDX standards or have invalid/unidentified identifiers. * This array includes licenses that could not be matched to valid SPDX identifiers. */ unidentifiedLicenseIds?: SpdxUnidentifiedLicense[]; } export declare class LicenseResult { #private; addLicenseIDFromSource(source: string, file: string): this; addLicenseID(licenseID: string, source: string): this; toJSON(): SpdxExtractedResult; } //# sourceMappingURL=LicenseResult.class.d.ts.map