import { z, type ZodType } from "zod"; import type { JsonSchema } from "../model/ManifestGrammar.js"; /** * Thin boundary around Zod's official JSON Schema importer. Mantle keeps * only its legacy `nullable` normalization and an input-depth guard here; * JSON Schema semantics belong to Zod. */ export declare function jsonSchemaToZod(schema: JsonSchema): ZodType; /** * Convert a zod issue path (`PropertyKey[]`) to an RFC 6901 JSON * Pointer string. Empty path → `""`; `["foo", 0, "bar"]` → `"/foo/0/bar"`; * field names containing `/` or `~` are escaped per the spec * (`~` → `~0`, `/` → `~1`). */ export declare function zodPathToJsonPointer(path: ReadonlyArray): string; /** * Translate a zod `safeParse` failure to the (instancePath, message) * shape the dispatcher's diagnostic emitter expects. */ export declare function firstZodIssueAsJsonPointer(err: z.ZodError): { instancePath: string; message: string; }; //# sourceMappingURL=JsonSchemaToZod.d.ts.map