export interface LicenseInfo { package: string; version: string; license: string; licenseFile?: string; repository?: string; } export interface LicensePolicy { name: string; description: string; allowed: string[]; denied: string[]; unknown: 'allow' | 'warn' | 'deny'; } export interface LicenseViolation { package: string; version: string; license: string; violation: string; severity: 'high' | 'medium' | 'low'; } export interface LicenseCheckResult { policy: string; licenses: LicenseInfo[]; violations: LicenseViolation[]; summary: { total: number; compliant: number; violations: number; unknown: number; }; } export declare const POLICIES: Record; export interface LicenseCheckOptions { policy?: string | LicensePolicy; allowedLicenses?: string[]; deniedLicenses?: string[]; } export declare function checkLicenses(targetPath: string, options?: LicenseCheckOptions): LicenseCheckResult; export declare const POLICY_NAMES: string[];