import type { SchemaBase } from "./index.js"; type JsonPrimitive = string | number | boolean | null; export type JsonValue = JsonPrimitive | { [key: string]: JsonValue; } | JsonValue[]; export interface JsonValueSchema extends SchemaBase<"json", JsonValue> { readonly kind: "json"; readonly const?: JsonValue; readonly enum?: readonly JsonValue[]; } export declare function Json(options?: Omit): JsonValueSchema; export interface JsonValueValidationOptions { readonly maxNodes?: number; readonly maxDepth?: number; } export declare function isJsonValue(value: unknown, options?: JsonValueValidationOptions): boolean; export {};