import type { DepLicenseInfo } from '../../types/index.js';
/**
 * Determine compatibility of a license identifier.
 * GPL/AGPL → critical (violates commercial use).
 * LGPL/MPL/CDDL/EPL → warning (requires care).
 * MIT/Apache/BSD/ISC/etc. → compatible.
 * Anything else → unknown.
 */
export declare function checkLicense(license: string): DepLicenseInfo;
/**
 * Determine if the project is commercial (default assumption when no license field).
 * Reads the package.json content string and inspects the `license` field.
 * Non-commercial licenses: GPL, AGPL, CC-BY-NC, etc.
 */
export declare function isCommercialProject(packageJsonContent: string): boolean;
//# sourceMappingURL=license-checker.d.ts.map