/**
 * Parse transitive deps from the project lockfile.
 * Returns Map<packageName, installedVersion> for ALL deps (direct + transitive).
 * Falls back to direct deps from package.json if no lockfile found.
 */
export declare function parseTransitiveDeps(projectPath: string): Promise<Map<string, string>>;
/**
 * Parse pnpm-lock.yaml v9 format.
 * v9 format has a `snapshots:` section with entries like:
 *   pkg@version:
 *     ...
 * and a `packages:` section with entries like:
 *   /pkg/version:
 *     ...
 * We parse both sections to extract all package names and versions.
 */
export declare function parsePnpmLockYaml(raw: string): Map<string, string>;
/**
 * Parse package-lock.json v2/v3 format.
 * v3: top-level `packages` object with keys like "node_modules/pkg" or
 *     "node_modules/pkg/node_modules/nested-pkg".
 * v2: both `packages` and `dependencies` present.
 * v1: only `dependencies` present (older format).
 */
export declare function parsePackageLockJson(raw: string): Map<string, string>;
//# sourceMappingURL=lockfile-parser.d.ts.map