import type { CommandHandlerMap } from '@pnpm/cli.command'; import type { CreateStoreControllerOptions } from '@pnpm/store.connection-manager'; import type { ProjectManifest } from '@pnpm/types'; import { type ResolutionPolicyViolation } from './installGlobalPackages.js'; export type GlobalUpdateOptions = CreateStoreControllerOptions & { bin?: string; globalPkgDir?: string; latest?: boolean; allowBuilds?: Record; saveExact?: boolean; savePrefix?: string; rootProjectManifest?: ProjectManifest; handleResolutionPolicyViolations?: (violations: readonly ResolutionPolicyViolation[]) => Promise; updateResolutionPolicyManifest?: (violations: readonly ResolutionPolicyViolation[], dir: string) => Promise; selectedPackageHashes?: Set; }; export declare function handleGlobalUpdate(opts: GlobalUpdateOptions, params: string[], commands: CommandHandlerMap): Promise;