/**
 * All lock file names that may need to be staged after regeneration
 */
export declare function getAllLockFilePaths(): string[];
/**
 * Regenerate lock file by running the appropriate install command.
 * Non-fatal: catches errors, logs warnings, returns a result object.
 * @param packageManager - The package manager to use
 * @param cwd - Working directory to run the command in
 * @param timeoutMs - Timeout in milliseconds (default: 5 minutes)
 */
export declare function regenerateLockFile(packageManager: PackageManagerType, cwd: string, timeoutMs?: number): Promise<LockFileResult>;
/**
 * Examine which manifest files were updated to determine which package managers
 * need lock file regeneration.
 * @param updatedFilePaths - List of file paths that were updated
 */
export declare function detectRequiredPackageManagers(updatedFilePaths: string[]): PackageManagerType[];
/**
 * Check if a lock file exists for a given package manager in the working directory
 */
export declare function hasLockFile(packageManager: PackageManagerType, cwd: string): boolean;
export declare interface LockFileResult {
  success: boolean
  packageManager: PackageManagerType
  message: string
}
export type PackageManagerType = 'bun' | 'npm' | 'yarn' | 'pnpm' | 'composer';
