export interface SchemaValidationError { /** Dot-path from the args root, e.g. `path` or `filters.from`. */ path: string; message: string; } /** * Validate `value` against `schema`. Returns an empty array on success * or one entry per violation. Continues past most errors so the caller * (the agent loop) can give the model a single message listing * everything wrong, not iterations of one-error-at-a-time corrections. * Stops short of recursing through a type-mismatched root — once we know * the value is the wrong shape, deeper checks would be noise. */ export declare function validateAgainstSchema(value: unknown, schema: unknown, path?: string): SchemaValidationError[]; /** Format an error list as a single multi-line string suitable for * injection into a `role:'tool'` message so the model sees a clear * "your args were wrong because X, Y, Z — fix and retry" signal. */ export declare function formatValidationErrors(toolName: string, errors: SchemaValidationError[]): string; //# sourceMappingURL=schema-validate.d.ts.map