import { type PkgMetaAndSnapshot } from '@pnpm/deps.graph-hasher'; import type { LockfileObject } from '@pnpm/lockfile.fs'; import type { AllowBuild, SupportedArchitectures } from '@pnpm/types'; interface PkgSnapshotWithLocation { pkgMeta: PkgMetaAndSnapshot; dirInVirtualStore: string; } export declare function iteratePkgsForVirtualStore(lockfile: LockfileObject, opts: { allowBuild?: AllowBuild; enableGlobalVirtualStore?: boolean; virtualStoreDirMaxLength: number; virtualStoreDir: string; globalVirtualStoreDir: string; supportedArchitectures?: SupportedArchitectures; }): IterableIterator; export {};