import { type GlobalPackageInfo } from '@pnpm/global.packages'; export declare function handleGlobalRemove(opts: { globalPkgDir?: string; bin?: string; }, params: string[]): Promise; /** * Removes the given global groups with their hash links and the bins they * own. Without `bin`, only the groups are removed. */ export declare function removeGlobalGroups(opts: { globalPkgDir: string; bin?: string; }, groups: GlobalPackageInfo[]): Promise;