import type { DiffHunk } from "./types";
/**
 * Compute a unified diff between two text strings.
 *
 * Returns an array of {@link DiffHunk} objects, each containing the
 * changed and context lines with line numbers. Uses the `diff` library's
 * Myers algorithm internally.
 *
 * Pure function — no side effects, safe to call outside React.
 *
 * @param oldText - The "before" text content.
 * @param newText - The "after" text content.
 * @param contextLines - Number of unchanged context lines around changes (default: 3).
 */
export declare function computeDiff(oldText: string, newText: string, contextLines?: number): readonly DiffHunk[];
//# sourceMappingURL=computeDiff.d.ts.map