/**
 * Fetches npm registry manifests for deplint's peer-dependency resolution.
 *
 * Unlike `lib/updo/fetchRegistryInfo`, which returns only version strings
 * and dist-tags, this helper preserves each version's `peerDependencies`
 * block. That's what we need to answer the question: "what's the latest
 * version of package X whose peer range accepts peer Y at version Z?"
 *
 * Results are cached per-process so repeated lookups within a single
 * deplint run hit the registry at most once per package.
 */
export interface PackageManifestVersion {
    peerDependencies: Record<string, string>;
    version: string;
}
export interface PackageManifest {
    distTags: Record<string, string>;
    /** Versions in registry order (unsorted — sort with semver where needed). */
    versions: PackageManifestVersion[];
}
export declare function fetchPackageManifest(packageName: string): Promise<PackageManifest | undefined>;
export declare function fetchPackageManifests(packageNames: readonly string[], concurrency?: number): Promise<Map<string, PackageManifest | undefined>>;
/** Test-only. Clears the in-process cache. */
export declare function clearPackageManifestCache(): void;
//# sourceMappingURL=fetchPackageManifest.d.ts.map