/** * Read straight from a pnpm lockfile's text, with no YAML parser: what * `/val/adept` lists, and which TypeScript the typecheck loads. * `pnpmLockfile.ts` is the full reader. */ export type Locked = { name: string; version: string; integrity?: string; }; /** The registry packages a pnpm 9 lockfile's `packages:` section names. */ export declare function lockedPackages(lockfile: string): Locked[]; /** The version the root importer's lockfile entry gives `typescript`. */ export declare function typescriptVersion(lockfile: string): string | null;