/**
 * Reads SPDX / package.json license metadata from a package manifest.
 * Supports the modern `license` string/object forms and the legacy `licenses`
 * array used by older packages.
 */
export interface PackageManifest {
    dependencies?: Record<string, string>;
    license?: string | {
        type?: string;
        url?: string;
    };
    licenses?: (string | {
        type?: string;
        url?: string;
    })[];
    name?: string;
    optionalDependencies?: Record<string, string>;
    peerDependencies?: Record<string, string>;
    version?: string;
}
/** Returns license identifiers declared on a package.json (may be empty). */
export declare function readPackageLicenses(manifest: PackageManifest): string[];
/** Production dependency names declared by a package (runtime + optional). */
export declare function productionDependencyNames(manifest: PackageManifest): string[];
//# sourceMappingURL=readPackageLicense.d.ts.map