import type { SpecVersionDiff } from '../../types/index.js';
import { extractAcceptanceCriteria } from '../shared/ac-extractor.js';
import { computeLineDiff } from '../shared/line-diff.js';
export { extractAcceptanceCriteria, computeLineDiff };
/** Compute AC-level diff between two sets of criteria. */
export declare function computeAcDiff(fromCriteria: string[], toCriteria: string[]): SpecVersionDiff['criteriaChanges'];
/** Detect which sections changed between two spec contents. */
export declare function detectSectionChanges(fromContent: string, toContent: string): string[];
/**
 * Diff two spec versions stored on disk.
 * Throws if either version tag is not found.
 */
export declare function diffVersions(dataDir: string, specId: string, fromTag: string, toTag: string): Promise<SpecVersionDiff>;
/**
 * Diff two spec content strings directly (no disk lookup).
 * Used before merging to show what will change.
 */
export declare function diffContents(specId: string, fromTag: string, toTag: string, fromContent: string, toContent: string): SpecVersionDiff;
//# sourceMappingURL=differ.d.ts.map