import { type GlobalPackageInfo } from '@pnpm/global.packages'; import type { DependencyManifest } from '@pnpm/types'; /** * Checks for bin name conflicts between new packages and existing global * packages. Returns a set of bin names that should be skipped during linking * because they are legitimately owned by an already-installed package. */ export declare function checkGlobalBinConflicts(opts: { globalDir: string; globalBinDir: string; newPkgs: Array<{ manifest: DependencyManifest; location: string; }>; shouldSkip: (pkg: GlobalPackageInfo) => boolean; }): Promise>;