/** * Pre-constructed tools for querying, filtering, grouping, and reshaping structured values. * * @module @nhtio/adk/batteries/tools/data_structure * * @remarks * Pre-constructed bundled tools for the `data_structure` category. Import individually, the whole * category, or import every tool via `@nhtio/adk/batteries`. */ import { Tool } from "../../../common"; /** * Apply a pipeline of operations to a JSON array or object. * * @remarks * Operations are applied in order; each step transforms the output of the previous. Supported * operations: `filter`, `sort`, `select_keys`, `pluck`, `slice`, `unique`, `unique_by`, * `group_by`, `flatten`, `reverse`, `count`, `sum`, `avg`, `median`, `min`, `max`, `first`, * `last`, `chunk`, `frequency_count`, `top_n`, `map_template`. Dot-notation paths are supported * for nested key access in every operation that takes a `key` field. */ export declare const jsonTransformTool: Tool; /** * Perform set operations on two JSON arrays. * * @remarks * Supported operations: `intersection`, `union`, `difference`, `symmetric_difference`, * `is_member`, `is_subset`, `is_superset`. For arrays of objects, an optional `compare_key` * narrows equality to a single property rather than deep structural comparison. */ export declare const setOperationsTool: Tool;