UNPKG

1.06 kBTypeScriptView Raw
1import type { AnySchemaObject } from "./types";
2import AjvCore from "./core";
3declare class Ajv extends AjvCore {
4 _addVocabularies(): void;
5 _addDefaultMetaSchema(): void;
6 defaultMeta(): string | AnySchemaObject | undefined;
7}
8export default Ajv;
9export { Format, FormatDefinition, AsyncFormatDefinition, KeywordDefinition, KeywordErrorDefinition, CodeKeywordDefinition, MacroKeywordDefinition, FuncKeywordDefinition, Vocabulary, Schema, SchemaObject, AnySchemaObject, AsyncSchema, AnySchema, ValidateFunction, AsyncValidateFunction, SchemaValidateFunction, ErrorObject, ErrorNoParams, } from "./types";
10export { Plugin, Options, CodeOptions, InstanceOptions, Logger, ErrorsTextOptions } from "./core";
11export { SchemaCxt, SchemaObjCxt } from "./compile";
12export { KeywordCxt } from "./compile/validate";
13export { DefinedError } from "./vocabularies/errors";
14export { JSONType } from "./compile/rules";
15export { JSONSchemaType } from "./types/json-schema";
16export { _, str, stringify, nil, Name, Code, CodeGen, CodeGenOptions } from "./compile/codegen";