import { type LockfileObject } from '@pnpm/lockfile.types'; import { type StoreController } from '@pnpm/store-controller-types'; import { type DepPath, type DependenciesField, type HoistedDependencies, type ProjectId, type ProjectRootDir } from '@pnpm/types'; export declare function prune(importers: Array<{ binsDir: string; id: ProjectId; modulesDir: string; pruneDirectDependencies?: boolean; removePackages?: string[]; rootDir: ProjectRootDir; }>, opts: { dedupeDirectDeps?: boolean; dryRun?: boolean; include: { [dependenciesField in DependenciesField]: boolean; }; hoistedDependencies: HoistedDependencies; hoistedModulesDir?: string; publicHoistedModulesDir?: string; wantedLockfile: LockfileObject; currentLockfile: LockfileObject; pruneStore?: boolean; pruneVirtualStore?: boolean; skipped: Set; virtualStoreDir: string; virtualStoreDirMaxLength: number; lockfileDir: string; storeController: StoreController; }): Promise>;