/** * Copyright (c) 2026, Salesforce, Inc., * All rights reserved. * For full license text, see the LICENSE.txt file */ import type { ConflictResolution, InstallationContext } from "./types.js"; /** * Check if a path already exists (file or directory) * For directories, we don't consider them conflicts - only individual files */ export declare function hasConflict(path: string): boolean; /** * Resolve a conflict based on the context's conflict mode */ export declare function resolveConflict(path: string, context: InstallationContext): Promise; /** * Collect all conflicts for error mode * Returns a list of conflicting paths * * For directory operations, we need the source path to check individual files */ export declare function collectConflicts(operations: { from: string; to: string; sourcePath: string; }[]): string[]; /** * Output error message with conflict list and instructions */ export declare function outputConflictError(conflicts: string[]): void; //# sourceMappingURL=conflict-detector.d.ts.map