import { z } from 'zod'; declare const pnpmDependencyFlattenedSchema: z.ZodObject<{ name: z.ZodString; license: z.ZodString; author: z.ZodOptional; homepage: z.ZodOptional; description: z.ZodOptional; version: z.ZodString; path: z.ZodString; }, z.core.$strip>; declare const pnpmDependencySchema: z.ZodUnion; homepage: z.ZodOptional; description: z.ZodOptional; versions: z.ZodArray; paths: z.ZodArray; }, z.core.$strip>, z.ZodObject<{ name: z.ZodString; license: z.ZodString; author: z.ZodOptional; homepage: z.ZodOptional; description: z.ZodOptional; version: z.ZodString; path: z.ZodString; }, z.core.$strip>]>; type PnpmDependency = z.infer; type PnpmDependencyFlattened = z.infer; type IOOptions = ({ stdin: false; inputFile: undefined; } | { stdin: true; inputFile: undefined; } | { stdin: false; inputFile: string; }) & ({ stdout: true; outputFile: undefined; } | { stdout: false; outputFile: string; }); declare const getDependencies: (options: { prod: boolean; }, ioOptions: IOOptions) => Promise; declare const resolvedByTypes: readonly ["license-file", "readme-search", "fallback-author", "fallback-homepage"]; type PnpmDependencyResolvedLicenseText = PnpmDependencyFlattened & { licenseText: string; additionalText?: string; noticeText?: string; resolvedBy: (typeof resolvedByTypes)[number]; }; declare const getLicenseText: (dependency: PnpmDependencyFlattened) => Promise<{ licenseText: string; additionalText?: string; noticeText?: string; resolvedBy: (typeof resolvedByTypes)[number]; }>; declare const generateDisclaimer: (deps: PnpmDependencyResolvedLicenseText[]) => string; declare const resolveLicensesBestEffort: (deps: PnpmDependencyFlattened[]) => Promise<{ successful: PnpmDependencyResolvedLicenseText[]; failed: PnpmDependencyFlattened[]; }>; export { type PnpmDependency, type PnpmDependencyResolvedLicenseText, generateDisclaimer, getDependencies, getLicenseText, resolveLicensesBestEffort };