import type { AgentTool } from "@earendil-works/pi-agent-core"; import type { TSchema } from "typebox"; /** * Structural deep clone that omits every `description` key at any depth while * preserving all other own keys (including TypeBox internals such as `~kind` * and `~optional` symbols and function-valued keys). Uses Reflect.ownKeys + * property descriptors so non-enumerable metadata survives; never mutates the * input. */ export declare function stripSchemaDescriptions(value: T): T; /** * Returns a shallow copy of the tool with its parameter schema descriptions * stripped. Top-level tool fields (name, description, execute, ...) are * untouched. */ export declare function stripToolParameterDescriptions(tool: AgentTool): AgentTool;