/**
 * The `edit` capability: substitute an exact (or whitespace-tolerant) snippet
 * inside a file and report the change as a unified-style diff.
 *
 * The tool reads the target file through the kernel's {@link Fs} seam, locates
 * the `oldText` to replace, swaps in `newText`, writes the result back, and
 * hands the model a readable before/after diff produced by our own Myers-based
 * {@link renderUnifiedDiff}. Matching is strict by default: the literal
 * `oldText` must appear exactly once. If a literal match is missing we make a
 * single whitespace-fuzzy attempt (ignoring differences in indentation and
 * inter-token spacing) so trivial formatting drift doesn't block an otherwise
 * unambiguous edit. Anything genuinely absent or ambiguous is refused with a
 * specific message rather than guessed at.
 */
/**
 * Public edit tool.
 *
 * Replaces a located snippet with new text inside a single file and returns a
 * unified diff of the change.
 */
export declare const editTool: import("..").DefinedTool;
