import { type LockfilePackage } from './lockfile.js'; export declare const NPM_LOCKFILE = "package-lock.json"; export interface PackageLockEntry { name?: string; version?: string; } export interface PackageLockFile { lockfileVersion?: number; packages?: Record; } export interface ReadNpmPackageLockAtRefOptions { projectRoot: string; ref: string; lockfilePath?: string; } export declare class UnsupportedLockfileError extends Error { constructor(lockfilePath: string); } export declare function assertSupportedNpmLockfile(lockfilePath: string): void; export declare function parseNpmPackageLock(raw: string, sourceLabel?: string): PackageLockFile; export declare function readNpmPackageLockAtRef(options: ReadNpmPackageLockAtRefOptions): Promise; export declare function packageNameFromNpmLockPath(lockPath: string): string | null; export declare function collectPackagesFromNpmLock(lock: PackageLockFile): LockfilePackage[]; //# sourceMappingURL=npm-lockfile.d.ts.map