/** * Pre-constructed tools for text diffs, similarity checks, and edit-distance comparisons. * * @module @nhtio/adk/batteries/tools/text_comparison * * @remarks * Pre-constructed bundled tools for the `text_comparison` category. Import individually, the whole * category, or import every tool via `@nhtio/adk/batteries`. */ import { Tool } from "../../../common"; /** * Compare two texts and emit a unified-style diff plus an additions/removals summary. * * @remarks * `mode: 'lines'` (default) compares line-by-line; `mode: 'words'` compares word-by-word. The * output is clipped at 60 diff lines — the suffix `… (N more lines truncated)` is appended if * the diff is larger. Identical inputs short-circuit with `Texts are identical`. */ export declare const textDiffTool: Tool; /** * Report the Levenshtein edit distance and a similarity percentage between two strings. * * @remarks * Useful for fuzzy matching. The percentage is `(1 - distance / max(len_a, len_b)) * 100`, with * a human-readable label appended (`identical` / `very similar` / `similar` / `somewhat * similar` / `different` / `very different`). */ export declare const stringSimilarityTool: Tool;