1 import type { AddedKeywordDefinition } from "../types";
2 declare const _jsonTypes: readonly ["string", "number", "integer", "boolean", "null", "object", "array"];
3 export declare type JSONType = typeof _jsonTypes[number];
4 export declare function isJSONType(x: unknown): x is JSONType;
5 declare type ValidationTypes = {
6 [K in JSONType]: boolean | RuleGroup | undefined;
8 export interface ValidationRules {
12 [Key in string]?: boolean | Rule;
15 [Key in string]?: boolean;
17 types: ValidationTypes;
19 export interface RuleGroup {
23 export interface Rule {
25 definition: AddedKeywordDefinition;
27 export declare function getRules(): ValidationRules;