UNPKG

456 BTypeScriptView Raw
1import type { AnySchemaObject } from "../../types";
2import type { SchemaObjCxt } from "..";
3import type { JSONType, RuleGroup, Rule } from "../rules";
4export declare function schemaHasRulesForType({ schema, self }: SchemaObjCxt, type: JSONType): boolean | undefined;
5export declare function shouldUseGroup(schema: AnySchemaObject, group: RuleGroup): boolean;
6export declare function shouldUseRule(schema: AnySchemaObject, rule: Rule): boolean | undefined;