import type { SpecMergeResult, SpecMergeConflict, MergeSpecBranchInput } from '../../types/index.js';
/**
 * Detect merge conflicts between branch content and latest main content.
 * Simple strategy: if the branch diverged from the latest version, flag it.
 */
export declare function detectConflicts(baseContent: string, branchContent: string, mainContent: string): SpecMergeConflict[];
/**
 * Attempt a simple auto-merge: apply branch additions to main content.
 * Returns merged content or null if auto-merge is not safe.
 */
export declare function autoMerge(branchContent: string, mainContent: string): string | null;
/**
 * Merge a spec branch back into main.
 * Creates a new version snapshot with the merged content.
 * Deletes the branch on success.
 */
export declare function mergeBranch(dataDir: string, input: MergeSpecBranchInput): Promise<SpecMergeResult>;
//# sourceMappingURL=merger.d.ts.map