import { PackageManager, CreateDependenciesContext, ProjectGraphExternalNode, RawProjectGraphDependency, CreateNodesContext } from '@nx/devkit'; declare const YARN_LOCK_FILE = "yarn.lock"; declare const NPM_LOCK_FILE = "package-lock.json"; declare const PNPM_LOCK_FILE = "pnpm-lock.yaml"; declare const BUN_LOCK_FILE = "bun.lock"; declare const LOCK_FILES: string[]; declare const YARN_LOCK_PATH: string; declare const NPM_LOCK_PATH: string; declare const PNPM_LOCK_PATH: string; declare const BUN_LOCK_PATH: string; /** * Parses lock file and maps dependencies and metadata to {@link LockFileGraph} */ declare function getLockFileNodes(packageManager: PackageManager, contents: string, lockFileHash: string, context: CreateNodesContext): { nodes: Record; keyMap: Map | Map>; }; /** * Parses lock file and maps dependencies and metadata to {@link LockFileGraph} */ declare function getLockFileDependencies(packageManager: PackageManager, contents: string, lockFileHash: string, context: CreateDependenciesContext, keyMap: Map | Map>): RawProjectGraphDependency[]; declare function lockFileExists(packageManager: PackageManager): boolean; declare const LOCK_FILE_BY_PACKAGE_MANAGER: Record; declare const OTHER_LOCK_FILES: Record; /** * Returns the lock file name for the given package manager * * @param packageManager - The package manager to get the lock file name for * @returns The lock file name for the given package manager */ declare function getLockFileName(packageManager: PackageManager): string; /** * Returns the other lock file names for the given package manager * * @param packageManager - The package manager to get the other lock file names for * @returns The other lock file names for the given package manager */ declare function getOtherLockFileNames(packageManager: PackageManager): string[]; export { BUN_LOCK_FILE, BUN_LOCK_PATH, LOCK_FILES, LOCK_FILE_BY_PACKAGE_MANAGER, NPM_LOCK_FILE, NPM_LOCK_PATH, OTHER_LOCK_FILES, PNPM_LOCK_FILE, PNPM_LOCK_PATH, YARN_LOCK_FILE, YARN_LOCK_PATH, getLockFileDependencies, getLockFileName, getLockFileNodes, getOtherLockFileNames, lockFileExists };