import { type GlobalPackageBinSnapshot } from '@pnpm/global.packages'; import type { DependencyManifest } from '@pnpm/types'; export interface ActivateGlobalInstallOptions { installDir: string; hashLink: string; globalBinDir: string; pkgs: Array<{ manifest: DependencyManifest; location: string; }>; binsToSkip: Set; requiredBinNames?: Set; } export interface CleanupReplacedGlobalInstallsOptions { groups: GlobalPackageBinSnapshot[]; globalDir: string; globalBinDir: string; activeHash: string; activatedBins: Set; protectedBins: Set; } export declare function activateGlobalInstall(opts: ActivateGlobalInstallOptions): Promise>; export declare function cleanupReplacedGlobalInstalls(opts: CleanupReplacedGlobalInstallsOptions): Promise; export declare function getActualBinNames(opts: Pick): Promise>;