import { z } from "zod"; import type { ResultValue } from "./result.js"; export declare class Schema { private zodSchema; constructor(zodSchema: z.ZodType); parse(data: unknown): ResultValue; parseJSON(jsonString: string): ResultValue; /** * Convert this schema to a JSON Schema document. Picks up any * `@jsonSchema(...)` metadata attached via `.meta(...)` and merges it * into the output. Use this from agency code to verify that * `@jsonSchema(...)` annotations actually propagate to the wire * format LLMs and JSON-schema consumers see. */ toJSONSchema(): unknown; } export declare function __validateType(value: unknown, schema: z.ZodType): ResultValue;