import * as av from "anyvali"; import type { SchemaNode } from "anyvali"; export type JsonPrimitive = string | number | boolean | null; export type JsonValue = JsonPrimitive | JsonObject | JsonValue[]; export interface JsonObject { [key: string]: JsonValue; } export declare const JSON_VALUE_DEFINITION = "BetterPortalJsonValue"; export declare const JSON_VALUE_REF = "#/definitions/BetterPortalJsonValue"; export declare const JsonValueSchemaNode: SchemaNode; /** A recursively validated JSON value. Use this instead of `av.any()` in published contracts. */ export declare const JsonValueSchema: av.BaseSchema; /** A recursively validated JSON object. Use this instead of `av.record(av.any())`. */ export declare const JsonObjectSchema: av.BaseSchema; //# sourceMappingURL=json.d.ts.map