import { type LockfileObject } from '@pnpm/lockfile.fs'; import type { ProjectId, ProjectRootDir } from '@pnpm/types'; export interface PnpmContext { currentLockfile: LockfileObject; existsCurrentLockfile: boolean; existsWantedLockfile: boolean; existsNonEmptyWantedLockfile: boolean; wantedLockfile: LockfileObject; } export declare function readLockfiles(opts: { autoInstallPeers: boolean; excludeLinksFromLockfile: boolean; peersSuffixMaxLength: number; ci?: boolean; force: boolean; frozenLockfile: boolean; projects: Array<{ id: ProjectId; rootDir: ProjectRootDir; }>; lockfileDir: string; registry: string; useLockfile: boolean; useGitBranchLockfile?: boolean; mergeGitBranchLockfiles?: boolean; internalPnpmDir: string; }): Promise<{ currentLockfile: LockfileObject; currentLockfileIsUpToDate: boolean; existsCurrentLockfile: boolean; existsWantedLockfile: boolean; existsNonEmptyWantedLockfile: boolean; wantedLockfile: LockfileObject; wantedLockfileIsModified: boolean; lockfileHadConflicts: boolean; }>;