import type { Lockfile, LockfileEntry } from "../types/index.js"; export declare function lockfilePath(rootDir: string): string; export declare function readLockfile(rootDir: string): Lockfile; export declare function writeLockfile(rootDir: string, lockfile: Lockfile): void; export declare function addToLockfile(rootDir: string, pkgName: string, entry: LockfileEntry): void; export declare function removeFromLockfile(rootDir: string, pkgName: string): void;