/** * Pre-constructed tools for common text encodings and decoding operations. * * @module @nhtio/adk/batteries/tools/encoding * * @remarks * Pre-constructed bundled tools for the `encoding` category. Import individually, the whole * category, or import every tool via `@nhtio/adk/batteries`. */ import { Tool } from "../../../common"; /** * Encode or decode text using common schemes: base64, url (percent-encoding), html_entities. * * @remarks * `base64` uses the portable `globalThis.btoa`/`atob` pair so the tool works in browsers, Node, * and edge runtimes. Encoding/decoding errors are returned as `Error:` strings rather than * thrown so the model can react in-line. */ export declare const encodeTextTool: Tool; /** * Escape or unescape special characters for a target context. * * @remarks * Supports `json_string`, `regex`, `csv_field`, `sql_like`, and `markdown` targets. Returns * an error string for unknown targets rather than throwing. */ export declare const textEscapeTool: Tool; /** * Normalize Unicode text or extract code points. * * @remarks * Operations: NFC, NFD, NFKC, NFKD Unicode normalization forms (via `String.prototype.normalize`), * `strip_accents` (NFD-decompose, remove combining diacritics, re-compose to NFC), or * `code_points` (one `U+HHHH (char)` per line). */ export declare const unicodeNormalizeTool: Tool;