export type PackageManagerName = "npm" | "yarn" | "pnpm" | "bun"; export interface LockfileInfo { name: string; packageManager: PackageManagerName; jsonMergeable: boolean; safeRegenCommand?: { command: string; args: string[]; }; manualCommand: string; } export declare const LOCKFILES: readonly LockfileInfo[]; export declare function findLockfiles(dir: string): Promise; export declare function isYarnBerry(dir: string): Promise; export declare function resolveSafeRegenCommand(dir: string, lockfile: LockfileInfo): Promise<{ command: string; args: string[]; } | undefined>; export declare function detectPackageManager(dir: string): Promise;