import { type Lockfile } from '@pnpm/lockfile-types'; import { type ProjectId } from '@pnpm/types'; export declare function readCurrentLockfile(virtualStoreDir: string, opts: { wantedVersions?: string[]; ignoreIncompatible: boolean; }): Promise; export declare function readWantedLockfileAndAutofixConflicts(pkgPath: string, opts: { wantedVersions?: string[]; ignoreIncompatible: boolean; useGitBranchLockfile?: boolean; mergeGitBranchLockfiles?: boolean; }): Promise<{ lockfile: Lockfile | null; hadConflicts: boolean; }>; export declare function readWantedLockfile(pkgPath: string, opts: { wantedVersions?: string[]; ignoreIncompatible: boolean; useGitBranchLockfile?: boolean; mergeGitBranchLockfiles?: boolean; }): Promise; export declare function createLockfileObject(importerIds: ProjectId[], opts: { lockfileVersion: string; autoInstallPeers: boolean; excludeLinksFromLockfile: boolean; peersSuffixMaxLength: number; }): Lockfile;