import { type LockfileObject } from '@pnpm/lockfile.fs'; import { type Registries } from '@pnpm/types'; import { type PackageRegistry } from '@yarnpkg/pnp'; export declare function writePnpFile(lockfile: LockfileObject, opts: { importerNames: Record; lockfileDir: string; virtualStoreDir: string; virtualStoreDirMaxLength: number; registries: Registries; }): Promise; export declare function lockfileToPackageRegistry(lockfile: LockfileObject, opts: { importerNames: { [importerId: string]: string; }; lockfileDir: string; virtualStoreDir: string; virtualStoreDirMaxLength: number; registries: Registries; }): PackageRegistry;