import { z } from "zod";

//#region src/types.d.ts

type Json = boolean | JsonObject | JsonValue[] | null | number | string;
/**
 * Loose JSON Schema object. Deliberately not a full JSON Schema type system —
 * this package only needs to carry what `z.toJSONSchema()` emits for consumers
 * to validate or render.
 */
type JsonSchemaObject = Record<string, unknown>;
type JsonObject = {
  [key: string]: Json;
};
type JsonValue = Json;
//#endregion
export { JsonSchemaObject as n, Json as t };